diff options
author | christianchiarulli <[email protected]> | 2021-07-15 13:49:15 -0400 |
---|---|---|
committer | christianchiarulli <[email protected]> | 2021-07-15 13:49:15 -0400 |
commit | 359c06d002304cb1a3e56936a2f69c3ec2c4de14 (patch) | |
tree | a0c247192ee1d6291350906e489f54c8e5a5a5e8 /lua/lang/sh.lua | |
parent | 776c3ca9353ede04917e8399b19e8e496ef6a30a (diff) |
add on attach to more langs
Diffstat (limited to 'lua/lang/sh.lua')
-rw-r--r-- | lua/lang/sh.lua | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lua/lang/sh.lua b/lua/lang/sh.lua index 28c857d5..f2a7fe78 100644 --- a/lua/lang/sh.lua +++ b/lua/lang/sh.lua @@ -55,6 +55,7 @@ M.lint = function() require("lspconfig").efm.setup { -- init_options = {initializationOptions}, cmd = { DATA_PATH .. "/lspinstall/efm/efm-langserver" }, + on_attach = require("lsp").common_on_attach, init_options = { documentFormatting = true, codeAction = false }, root_dir = require("lspconfig").util.root_pattern ".git/", filetypes = { "sh" }, |