diff options
author | Yigit Sever | 2022-04-26 23:44:54 +0300 |
---|---|---|
committer | Yigit Sever | 2022-04-26 23:44:54 +0300 |
commit | 2f1fd029e76c6d47ce1b216910c41d486f967c1e (patch) | |
tree | 4c626d2e9d17409a97f28f68551938633afccd23 | |
parent | fd730fded73f2a52ad7b09847da9419326060d10 (diff) | |
download | dotfiles-2f1fd029e76c6d47ce1b216910c41d486f967c1e.tar.gz dotfiles-2f1fd029e76c6d47ce1b216910c41d486f967c1e.tar.bz2 dotfiles-2f1fd029e76c6d47ce1b216910c41d486f967c1e.zip |
nvim: add ltex language server
-rw-r--r-- | .config/nvim/lua/plugin_settings.lua | 2 |
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) |
356 | end | 356 | end |
357 | 357 | ||
358 | local servers = { 'rust_analyzer', 'jedi_language_server', 'texlab', 'clangd' } | 358 | local servers = { 'rust_analyzer', 'jedi_language_server', 'texlab', 'clangd', 'ltex' } |
359 | for _, lsp in ipairs(servers) do | 359 | for _, 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, |