feat(tsserver): update ts-utils settings to latest
This commit is contained in:
parent
d3c2a3b39a
commit
5a59dfaada
2 changed files with 12 additions and 11 deletions
|
@ -19,6 +19,15 @@ null_ls.config(vim.tbl_deep_extend('force', {
|
|||
},
|
||||
}),
|
||||
null_ls.builtins.code_actions.gitsigns,
|
||||
null_ls.builtins.diagnostics.eslint_d.with({ -- eslint or eslint_d
|
||||
-- prefer_local = 'node_modules/.bin',
|
||||
}),
|
||||
null_ls.builtins.code_actions.eslint_d.with({ -- eslint or eslint_d
|
||||
-- prefer_local = 'node_modules/.bin',
|
||||
}),
|
||||
null_ls.builtins.formatting.prettierd.with({ -- prettier, eslint, eslint_d, or prettierd
|
||||
-- prefer_local = 'node_modules/.bin',
|
||||
}),
|
||||
},
|
||||
}, config_opts or {}))
|
||||
|
||||
|
|
|
@ -24,17 +24,9 @@ function M.on_attach(client, bufnr)
|
|||
import_all_scan_buffers = 100,
|
||||
import_all_select_source = false,
|
||||
|
||||
-- eslint
|
||||
eslint_enable_code_actions = true,
|
||||
eslint_enable_disable_comments = true,
|
||||
eslint_bin = 'eslint_d',
|
||||
eslint_enable_diagnostics = true,
|
||||
-- eslint_opts = {},
|
||||
|
||||
-- formatting
|
||||
enable_formatting = true,
|
||||
formatter = 'prettierd',
|
||||
-- formatter_opts = {},
|
||||
-- inlay hints
|
||||
auto_inlay_hints = true,
|
||||
inlay_hints_highlight = 'Comment',
|
||||
|
||||
-- update imports on file move
|
||||
update_imports_on_move = true,
|
||||
|
|
Loading…
Add table
Reference in a new issue