diff options
Diffstat (limited to '.config/nvim/lua/plugins')
-rw-r--r-- | .config/nvim/lua/plugins/lsp.lua | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/.config/nvim/lua/plugins/lsp.lua b/.config/nvim/lua/plugins/lsp.lua index c10eefc..41616de 100644 --- a/.config/nvim/lua/plugins/lsp.lua +++ b/.config/nvim/lua/plugins/lsp.lua | |||
@@ -128,8 +128,18 @@ return { | |||
128 | -- efm | 128 | -- efm |
129 | require("lspconfig")["efm"].setup({ | 129 | require("lspconfig")["efm"].setup({ |
130 | on_attach = on_attach, | 130 | on_attach = on_attach, |
131 | settings = { | ||
132 | initializationOptions = { | ||
133 | documentFormatting = true, | ||
134 | documentRangeFormatting = true, | ||
135 | hover = true, | ||
136 | documentSymbol = true, | ||
137 | codeAction = true, | ||
138 | completion = true | ||
139 | } | ||
140 | }, | ||
131 | capabilities = capabilities, | 141 | capabilities = capabilities, |
132 | filetypes = { 'sh' }, | 142 | filetypes = { 'sh', 'tex' }, |
133 | }) | 143 | }) |
134 | 144 | ||
135 | vim.g.rustaceanvim = { | 145 | vim.g.rustaceanvim = { |