added automatic language server stuff in neovim

This commit is contained in:
Ryan 2023-09-04 11:48:55 -04:00
parent eafe6ee011
commit 7c01f4cdc8
Signed by: ryan77627
GPG key ID: 81B0E222A3E2308E
2 changed files with 11 additions and 0 deletions

View file

@ -86,6 +86,7 @@
"tcpdump"
"pamixer"
"git"
"node"
"git-lfs"))
(list my-neovim)))

View file

@ -24,6 +24,8 @@ Plug 'nvim-tree/nvim-web-devicons'
Plug 'ms-jpq/coq_nvim', {'branch':'coq'}
Plug 'ms-jpq/coq.artifacts', {'branch':'artifacts'}
Plug 'williamboman/mason.nvim'
Plug 'williamboman/mason-lspconfig.nvim'
Plug 'neovim/nvim-lspconfig'
Plug 'nvim-orgmode/orgmode'
call plug#end()
@ -39,6 +41,14 @@ require('lualine').setup()
require('coq')
require('orgmode').setup_ts_grammar()
require("mason").setup()
require("mason-lspconfig").setup()
require("mason-lspconfig").setup_handlers {
function (server_name)
require("lspconfig")[server_name].setup {}
end,
}
require('nvim-treesitter.configs').setup {
highlight = {
enable = true,