chore: remove autocmd to disable lsp syntax tokens
This commit is contained in:
parent
1b3094c4c7
commit
31185c4f1b
1 changed files with 0 additions and 10 deletions
|
|
@ -24,16 +24,6 @@ vim.api.nvim_create_autocmd("FileType", {
|
||||||
end,
|
end,
|
||||||
})
|
})
|
||||||
|
|
||||||
-- Disable LSP Semantic Tokens
|
|
||||||
vim.api.nvim_create_autocmd("LspAttach", {
|
|
||||||
callback = function(args)
|
|
||||||
local client = vim.lsp.get_client_by_id(args.data.client_id)
|
|
||||||
if client and client.server_capabilities.semanticTokensProvider then
|
|
||||||
client.server_capabilities.semanticTokensProvider = nil
|
|
||||||
end
|
|
||||||
end,
|
|
||||||
})
|
|
||||||
|
|
||||||
-- Auto insert mode on TermOpen
|
-- Auto insert mode on TermOpen
|
||||||
vim.api.nvim_create_autocmd({ "TermOpen", "BufEnter" }, {
|
vim.api.nvim_create_autocmd({ "TermOpen", "BufEnter" }, {
|
||||||
pattern = { "*" },
|
pattern = { "*" },
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue