Make linting work
This commit is contained in:
@@ -619,7 +619,7 @@ require('lazy').setup({
|
||||
vue = { hybridMode = true },
|
||||
},
|
||||
},
|
||||
eslint = {},
|
||||
--eslint = {},
|
||||
--prettierd = {},
|
||||
-- TODO: end
|
||||
html = {},
|
||||
@@ -809,7 +809,12 @@ require('lazy').setup({
|
||||
completion = {
|
||||
-- By default, you may press `<c-space>` to show the documentation.
|
||||
-- Optionally, set `auto_show = true` to show the documentation after a delay.
|
||||
documentation = { auto_show = true },
|
||||
documentation = {
|
||||
auto_show = true,
|
||||
treesitter_highlighting = true,
|
||||
window = { border = 'none' },
|
||||
auto_show_delay_ms = 0,
|
||||
},
|
||||
accept = { create_undo_point = true, auto_brackets = { enabled = true } },
|
||||
ghost_text = { enabled = true },
|
||||
menu = { auto_show = true, enabled = true },
|
||||
@@ -817,7 +822,6 @@ require('lazy').setup({
|
||||
|
||||
sources = {
|
||||
default = { 'copilot', 'lsp', 'path', 'lazydev', 'snippets' },
|
||||
|
||||
providers = {
|
||||
copilot = {
|
||||
name = 'copilot',
|
||||
@@ -826,11 +830,15 @@ require('lazy').setup({
|
||||
async = true,
|
||||
max_items = 1,
|
||||
},
|
||||
lazydev = { module = 'lazydev.integrations.blink', score_offset = 100 },
|
||||
lsp = { score_offset = 0 },
|
||||
-- Lazydev gives autocompletion for lua, imported libraries and ---@module "nvim-treesitter" statements
|
||||
lazydev = { module = 'lazydev.integrations.blink', score_offset = 0, max_items = 5 },
|
||||
path = { score_offset = 0, max_items = 5, min_keyword_length = 2, async = true },
|
||||
snippets = { score_offset = -10, max_items = 5, min_keyword_length = 2, async = true },
|
||||
},
|
||||
},
|
||||
|
||||
snippets = { preset = 'luasnip', score_offset = -100 },
|
||||
snippets = { preset = 'luasnip' },
|
||||
|
||||
-- Blink.cmp includes an optional, recommended rust fuzzy matcher,
|
||||
-- which automatically downloads a prebuilt binary when enabled.
|
||||
|
||||
Reference in New Issue
Block a user