mirror of
https://codeberg.org/leana8959/.files.git
synced 2025-12-06 14:49:14 +00:00
ref(nvim): config cleanup
This commit is contained in:
parent
77007e111c
commit
373c5ad84b
5 changed files with 10 additions and 50 deletions
|
|
@ -9,9 +9,7 @@ vim.keymap.set('n', '[d', vim.diagnostic.goto_prev, { noremap = true, silent = t
|
|||
vim.keymap.set('n', ']d', vim.diagnostic.goto_next, { noremap = true, silent = true })
|
||||
vim.keymap.set('n', '<space>q', vim.diagnostic.setloclist, { noremap = true, silent = true })
|
||||
|
||||
-- require "lsp-format".setup()
|
||||
local on_attach = function(client, bufnr)
|
||||
-- require "lsp-format".on_attach(client)
|
||||
vim.api.nvim_buf_set_option(bufnr, 'omnifunc', 'v:lua.vim.lsp.omnifunc')
|
||||
|
||||
-- See `:help vim.lsp.*` for documentation on any of the below functions
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue