diff options
author | Raymaekers Luca <raymaekers.luca@gmail.com> | 2023-03-11 12:09:47 +0100 |
---|---|---|
committer | Raymaekers Luca <raymaekers.luca@gmail.com> | 2023-03-11 12:12:44 +0100 |
commit | afd843b48cceca0f879bf026b5523c481ccebcdc (patch) | |
tree | 22d9785000bd307ce52babc632fe809662c69691 /config/essentials/nvim/ftplugin/sh.lua | |
parent | b087ff299c8e749f6377c3963bdf26ff6526e0f1 (diff) |
added formatoptions and bash lsp
Diffstat (limited to 'config/essentials/nvim/ftplugin/sh.lua')
-rw-r--r-- | config/essentials/nvim/ftplugin/sh.lua | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/config/essentials/nvim/ftplugin/sh.lua b/config/essentials/nvim/ftplugin/sh.lua index 3ebb1c9..4b66c75 100644 --- a/config/essentials/nvim/ftplugin/sh.lua +++ b/config/essentials/nvim/ftplugin/sh.lua @@ -1,2 +1,3 @@ vim.keymap.set("n", "<LocalLeader>t", "<cmd>s/\\(\\s*\\)\\(.*\\)/\\1echo \"\\2\"<cr><cmd>setlocal nohls<cr>") vim.keymap.set("n", "<LocalLeader>i", "<cmd>s/\\(\\s*\\)\\(.*\\)/\\1echo \"\\2: ${\\2}\"<cr><cmd>setlocal nohls<cr>") +vim.opt.formatoptions = "cqrnj" |