Compare commits
2 commits
3394d5bed5
...
46127c6f48
Author | SHA1 | Date | |
---|---|---|---|
46127c6f48 | |||
c04ae19640 |
2 changed files with 15 additions and 10 deletions
|
@ -15,7 +15,7 @@ return {
|
||||||
features = {
|
features = {
|
||||||
autoformat = true, -- enable or disable auto formatting on start
|
autoformat = true, -- enable or disable auto formatting on start
|
||||||
codelens = true, -- enable/disable codelens refresh on start
|
codelens = true, -- enable/disable codelens refresh on start
|
||||||
inlay_hints = false, -- enable/disable inlay hints on start
|
inlay_hints = true, -- enable/disable inlay hints on start
|
||||||
semantic_tokens = true, -- enable/disable semantic token highlighting
|
semantic_tokens = true, -- enable/disable semantic token highlighting
|
||||||
},
|
},
|
||||||
-- customize lsp formatting options
|
-- customize lsp formatting options
|
||||||
|
|
|
@ -10,19 +10,24 @@ return {
|
||||||
opts = {
|
opts = {
|
||||||
-- Configure core features of AstroNvim
|
-- Configure core features of AstroNvim
|
||||||
features = {
|
features = {
|
||||||
large_buf = { size = 1024 * 500, lines = 10000 }, -- set global limits for large files for disabling features like treesitter
|
autopairs = true, -- enable autopairs at start
|
||||||
autopairs = true, -- enable autopairs at start
|
cmp = true, -- enable completion at start
|
||||||
cmp = true, -- enable completion at start
|
diagnostics = true, -- enable diagnostics at start
|
||||||
diagnostics_mode = 3, -- diagnostic mode on start (0 = off, 1 = no signs/virtual text, 2 = no virtual text, 3 = on)
|
highlighturl = true, -- highlight URLs at start
|
||||||
highlighturl = true, -- highlight URLs at start
|
notifications = true, -- enable notifications at start
|
||||||
notifications = true, -- enable notifications at start
|
signature_help = true, -- enable automatically showing signature help
|
||||||
signature_help = true, -- enable automatically showing signature help
|
large_buf = { -- set global limits for large files for disabling features like treesitter
|
||||||
inlay_hints = true, -- enable inlay hints globally
|
size = 1024 * 100,
|
||||||
|
lines = 10000,
|
||||||
|
line_length = 1000,
|
||||||
|
},
|
||||||
},
|
},
|
||||||
-- Diagnostics configuration (for vim.diagnostics.config({...})) when diagnostics are on
|
-- Diagnostics configuration (for vim.diagnostics.config({...})) when diagnostics are on
|
||||||
diagnostics = {
|
diagnostics = {
|
||||||
virtual_text = true,
|
underline = true,
|
||||||
|
update_in_insert = false,
|
||||||
virtual_lines = { current_line = true },
|
virtual_lines = { current_line = true },
|
||||||
|
virtual_text = true,
|
||||||
},
|
},
|
||||||
-- vim options can be configured here
|
-- vim options can be configured here
|
||||||
options = {
|
options = {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue