|
|
|
@ -141,12 +141,6 @@ vim.opt.timeoutlen = 300
|
|
|
|
|
vim.opt.splitright = true
|
|
|
|
|
vim.opt.splitbelow = true
|
|
|
|
|
|
|
|
|
|
-- Sets how neovim will display certain whitespace characters in the editor.
|
|
|
|
|
-- See `:help 'list'`
|
|
|
|
|
-- and `:help 'listchars'`
|
|
|
|
|
vim.opt.list = true
|
|
|
|
|
vim.opt.listchars = { tab = '» ', trail = '·', nbsp = '␣' }
|
|
|
|
|
|
|
|
|
|
-- Preview substitutions live, as you type!
|
|
|
|
|
vim.opt.inccommand = 'split'
|
|
|
|
|
|
|
|
|
@ -675,6 +669,8 @@ require('lazy').setup({
|
|
|
|
|
-- For example, to see the options for `lua_ls`, you could go to: https://luals.github.io/wiki/settings/
|
|
|
|
|
local servers = {
|
|
|
|
|
-- clangd = {},
|
|
|
|
|
gopls = {
|
|
|
|
|
settings = {
|
|
|
|
|
gopls = {
|
|
|
|
|
gofumpt = true,
|
|
|
|
|
codelenses = {
|
|
|
|
@ -697,7 +693,6 @@ require('lazy').setup({
|
|
|
|
|
rangeVariableTypes = true,
|
|
|
|
|
},
|
|
|
|
|
analyses = {
|
|
|
|
|
fieldalignment = true,
|
|
|
|
|
nilness = true,
|
|
|
|
|
unusedparams = true,
|
|
|
|
|
unusedwrite = true,
|
|
|
|
@ -709,6 +704,8 @@ require('lazy').setup({
|
|
|
|
|
directoryFilters = { '-.git', '-.vscode', '-.idea', '-.vscode-test', '-node_modules' },
|
|
|
|
|
semanticTokens = true,
|
|
|
|
|
},
|
|
|
|
|
},
|
|
|
|
|
},
|
|
|
|
|
ruby_lsp = {},
|
|
|
|
|
|
|
|
|
|
-- pyright = {},
|
|
|
|
|