summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYigit Sever2022-04-26 23:44:54 +0300
committerYigit Sever2022-04-26 23:44:54 +0300
commit2f1fd029e76c6d47ce1b216910c41d486f967c1e (patch)
tree4c626d2e9d17409a97f28f68551938633afccd23
parentfd730fded73f2a52ad7b09847da9419326060d10 (diff)
downloaddotfiles-2f1fd029e76c6d47ce1b216910c41d486f967c1e.tar.gz
dotfiles-2f1fd029e76c6d47ce1b216910c41d486f967c1e.tar.bz2
dotfiles-2f1fd029e76c6d47ce1b216910c41d486f967c1e.zip
nvim: add ltex language server
-rw-r--r--.config/nvim/lua/plugin_settings.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/.config/nvim/lua/plugin_settings.lua b/.config/nvim/lua/plugin_settings.lua
index ccf3827..840268c 100644
--- a/.config/nvim/lua/plugin_settings.lua
+++ b/.config/nvim/lua/plugin_settings.lua
@@ -355,7 +355,7 @@ local on_attach = function(client, bufnr)
355 vim.api.nvim_buf_set_keymap(bufnr, 'n', '<leader>fm', '<cmd>lua vim.lsp.buf.formatting()<CR>', opts) 355 vim.api.nvim_buf_set_keymap(bufnr, 'n', '<leader>fm', '<cmd>lua vim.lsp.buf.formatting()<CR>', opts)
356end 356end
357 357
358local servers = { 'rust_analyzer', 'jedi_language_server', 'texlab', 'clangd' } 358local servers = { 'rust_analyzer', 'jedi_language_server', 'texlab', 'clangd', 'ltex' }
359for _, lsp in ipairs(servers) do 359for _, lsp in ipairs(servers) do
360 nvim_lsp[lsp].setup { 360 nvim_lsp[lsp].setup {
361 on_attach = on_attach, 361 on_attach = on_attach,