mirror of
https://github.com/LazyVim/LazyVim.git
synced 2025-07-16 12:24:36 +02:00
feat(lsp): add filetype-based LSP keymap ignore
Add `vim.g.keymaps_lsp_ignore_ft` option to allow disabling LSP keymaps for specific filetypes
This commit is contained in:
parent
3660c52017
commit
636e7b7691
2 changed files with 11 additions and 1 deletions
|
@ -42,6 +42,9 @@ vim.g.root_spec = { "lsp", { ".git", "lua" }, "cwd" }
|
|||
-- for detecting the LSP root
|
||||
vim.g.root_lsp_ignore = { "copilot" }
|
||||
|
||||
-- Filetypes to ignore LSP keymaps
|
||||
vim.g.keymaps_lsp_ignore_ft = {}
|
||||
|
||||
-- Hide deprecation warnings
|
||||
vim.g.deprecation_warnings = false
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue