Skip to content

Commit

Permalink
minor adjustments
Browse files Browse the repository at this point in the history
  • Loading branch information
Thomashighbaugh committed Aug 4, 2024
1 parent 2830456 commit 0277bbf
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
1 change: 0 additions & 1 deletion lua/features/lsp/lang/go.lua
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,6 @@ return {
functionTypeParameters = true,
parameterNames = true,
rangeVariableTypes = true,
},
analyses = {
fieldalignment = true,
nilness = true,
Expand Down
7 changes: 3 additions & 4 deletions lua/plugins/lsp.lua
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ return {
},
capabilities = {
textDocument = {
foldingRange = { dynamicRegistration = false, lineFoldingOnly = true },
foldingRange = { dynamicRegistration = false, lineFoldingOnly = false },
completion = {
completionItem = {
documentationFormat = { "markdown", "plaintext" },
Expand Down Expand Up @@ -124,8 +124,6 @@ return {
icons = true, -- use devicons for filenames
mode = "workspace_diagnostics", -- "workspace_diagnostics", "document_diagnostics", "quickfix", "lsp_references", "loclist"
severity = nil, -- nil (all) or vim.diagnostic.severity.error | warn | info | hint
fold_open = "", -- icon used for open folds
fold_closed = "", -- icon used for closed folds
group = true, -- group results by file
padding = true, -- add an extra new line on top of the list
cycle_results = true, -- cycle item list when reaching beginning or end of list
Expand Down Expand Up @@ -183,7 +181,7 @@ return {
"null-ls",
"jdtls",
},
grace_period = (60 * 15),
grace_period = (60 * 5),
wakeup_delay = 3000,
notifications = false,
retries = 3,
Expand Down Expand Up @@ -251,6 +249,7 @@ return {
diagnostics.statix,
diagnostics.todo_comments,
diagnostics.zsh,
diagnostics.hadolint,
formatting.terraform_fmt,
formatting.black,
formatting.cbfmt,
Expand Down

0 comments on commit 0277bbf

Please sign in to comment.