cleanup: Removing extraneous items that are meant for development work

and experimental settings rather than the official stable setup
This commit is contained in:
2026-08-12 10:36:57 -05:00
parent 6e035d1f4c
commit 114d764b18
6 changed files with 5 additions and 39 deletions

View File

@@ -25,8 +25,7 @@ vim.diagnostic.config({
}
})
-- LSP
-- TODO: test out removing the lspconfig plugin and using the built-in enablement
-- Install and enable the language server settings from nvim-lspconfig
vim.pack.add({
'https://github.com/neovim/nvim-lspconfig',
})
@@ -35,23 +34,6 @@ vim.pack.add({
vim.api.nvim_create_autocmd('LspAttach', {
group = vim.api.nvim_create_augroup('my.lsp', {}),
callback = function(args)
-- Native completion
-- local client = assert(vim.lsp.get_client_by_id(args.data.client_id))
-- local chars = {}; for i = 32, 126 do table.insert(chars, string.char(i)) end
-- client.server_capabilities.completionProvider.triggerCharacters = chars
--
-- vim.lsp.completion.enable(true, args.data.client_id, args.buf, {
-- autotrigger = true,
-- convert = function(item)
-- local abbr = item.label
-- abbr = abbr:gsub("%b()", ""):gsub("%b{}", "")
-- abbr = abbr:match("[%w_.]+.*") or abbr
-- abbr = #abbr > 20 and abbr:sub(1, 19) .. "..." or abbr
--
-- return { abbr = abbr }
-- end,
-- })
local bufnr = args.buf
local bufopts = { noremap = true, silent = true, buffer = bufnr }