fix lsp to and code completion

This commit is contained in:
2025-09-26 23:14:04 -05:00
parent 91fe229e59
commit 42b0e5c64d
13 changed files with 137 additions and 193 deletions

View File

@@ -11,16 +11,37 @@ if not vim.loop.fs_stat(lazypath) then
end
vim.opt.rtp:prepend(lazypath)
-- coq used for completion
vim.g.coq_settings = {
auto_start = true,
xdg = true,
completion = {
always = false,
},
keymap = {
manual_complete = '<c-n>',
}
}
-- code completion
require('lazy').setup('plugins')
local coq = require 'coq'
require("mason").setup() -- used for automatically enabling lsp and coq
require("mason-lspconfig").setup()
-- Settings
vim.cmd('source ~/.config/nvim/settings.vim')
-- colorscheme
vim.o.termguicolors = true
vim.o.background = "dark" -- or "light" for light mode
--vim.o.background = "dark" -- or "light" for light mode
--vim.cmd("colorscheme gruvbox ")
vim.cmd("colorscheme retrobox")
--vim.cmd("colorscheme retrobox")
-- keymaps
vim.keymap.set('n', '<leader>/', ':nohlsearch<CR>')