diff options
author | Yigit Sever | 2021-11-15 20:52:31 +0300 |
---|---|---|
committer | Yigit Sever | 2021-11-15 20:52:31 +0300 |
commit | acdae75e179d189e328b90c39e9df12f5308ab35 (patch) | |
tree | 4c17ff8fec6ae7a7e732e7d2a41d91c32ba8dce3 /.config/nvim/lua | |
parent | f46cd55dfa89d58d2e1b7c2334e9b5ab39d3b8bb (diff) | |
download | dotfiles-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.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 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) |
331 | end | 331 | end |
332 | 332 | ||
333 | local servers = { 'rust_analyzer', 'jedi_language_server', 'texlab', 'clangd' } | 333 | local servers = { 'rust_analyzer', 'jedi_language_server', 'texlab', 'clangd' } |