summaryrefslogtreecommitdiffstats
path: root/.config/nvim/lua
diff options
context:
space:
mode:
authorYigit Sever2021-11-15 20:52:31 +0300
committerYigit Sever2021-11-15 20:52:31 +0300
commitacdae75e179d189e328b90c39e9df12f5308ab35 (patch)
tree4c17ff8fec6ae7a7e732e7d2a41d91c32ba8dce3 /.config/nvim/lua
parentf46cd55dfa89d58d2e1b7c2334e9b5ab39d3b8bb (diff)
downloaddotfiles-acdae75e179d189e328b90c39e9df12f5308ab35.tar.gz
dotfiles-acdae75e179d189e328b90c39e9df12f5308ab35.tar.bz2
dotfiles-acdae75e179d189e328b90c39e9df12f5308ab35.zip
nvim: change lsp format binding
Diffstat (limited to '.config/nvim/lua')
-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 56612f5..a09bcac 100644
--- a/.config/nvim/lua/plugin_settings.lua
+++ b/.config/nvim/lua/plugin_settings.lua
@@ -327,7 +327,7 @@ local on_attach = function(client, bufnr)
327 buf_set_keymap('n', '[d', '<cmd>lua vim.lsp.diagnostic.goto_prev()<CR>', opts) 327 buf_set_keymap('n', '[d', '<cmd>lua vim.lsp.diagnostic.goto_prev()<CR>', opts)
328 buf_set_keymap('n', ']d', '<cmd>lua vim.lsp.diagnostic.goto_next()<CR>', opts) 328 buf_set_keymap('n', ']d', '<cmd>lua vim.lsp.diagnostic.goto_next()<CR>', opts)
329 buf_set_keymap('n', '<leader>q', '<cmd>lua vim.lsp.diagnostic.set_loclist()<CR>', opts) 329 buf_set_keymap('n', '<leader>q', '<cmd>lua vim.lsp.diagnostic.set_loclist()<CR>', opts)
330 buf_set_keymap('n', '<leader>f', '<cmd>lua vim.lsp.buf.formatting()<CR>', opts) 330 buf_set_keymap('n', '<leader>fm', '<cmd>lua vim.lsp.buf.formatting()<CR>', opts)
331end 331end
332 332
333local servers = { 'rust_analyzer', 'jedi_language_server', 'texlab', 'clangd' } 333local servers = { 'rust_analyzer', 'jedi_language_server', 'texlab', 'clangd' }