mirror of
https://github.com/NotAShelf/nvf.git
synced 2025-10-23 08:17:37 +00:00
treewide: remove usage of default_on_attach outside LspAttach
This commit is contained in:
parent
11fd1b7083
commit
c13edf9961
9 changed files with 16 additions and 31 deletions
|
@ -50,8 +50,6 @@
|
|||
};
|
||||
on_attach = mkLuaInline ''
|
||||
function(client, bufnr)
|
||||
default_on_attach(client, bufnr);
|
||||
|
||||
-- ts_ls provides `source.*` code actions that apply to the whole file. These only appear in
|
||||
-- `vim.lsp.buf.code_action()` if specified in `context.only`.
|
||||
vim.api.nvim_buf_create_user_command(0, 'LspTypescriptSourceAction', function()
|
||||
|
@ -106,7 +104,6 @@
|
|||
};
|
||||
on_attach = mkLuaInline ''
|
||||
function(client, bufnr)
|
||||
default_on_attach(client, bufnr)
|
||||
vim.api.nvim_buf_create_user_command(0, 'LspDenolsCache', function()
|
||||
client:exec_cmd({
|
||||
command = 'deno.cache',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue