mirror of
https://git.in.rschanz.org/ryan77627/guix-config.git
synced 2024-11-07 11:36:14 -05:00
added automatic language server stuff in neovim
This commit is contained in:
parent
eafe6ee011
commit
7c01f4cdc8
2 changed files with 11 additions and 0 deletions
|
@ -86,6 +86,7 @@
|
||||||
"tcpdump"
|
"tcpdump"
|
||||||
"pamixer"
|
"pamixer"
|
||||||
"git"
|
"git"
|
||||||
|
"node"
|
||||||
"git-lfs"))
|
"git-lfs"))
|
||||||
(list my-neovim)))
|
(list my-neovim)))
|
||||||
|
|
||||||
|
|
|
@ -24,6 +24,8 @@ Plug 'nvim-tree/nvim-web-devicons'
|
||||||
Plug 'ms-jpq/coq_nvim', {'branch':'coq'}
|
Plug 'ms-jpq/coq_nvim', {'branch':'coq'}
|
||||||
Plug 'ms-jpq/coq.artifacts', {'branch':'artifacts'}
|
Plug 'ms-jpq/coq.artifacts', {'branch':'artifacts'}
|
||||||
Plug 'williamboman/mason.nvim'
|
Plug 'williamboman/mason.nvim'
|
||||||
|
Plug 'williamboman/mason-lspconfig.nvim'
|
||||||
|
Plug 'neovim/nvim-lspconfig'
|
||||||
Plug 'nvim-orgmode/orgmode'
|
Plug 'nvim-orgmode/orgmode'
|
||||||
call plug#end()
|
call plug#end()
|
||||||
|
|
||||||
|
@ -39,6 +41,14 @@ require('lualine').setup()
|
||||||
require('coq')
|
require('coq')
|
||||||
require('orgmode').setup_ts_grammar()
|
require('orgmode').setup_ts_grammar()
|
||||||
require("mason").setup()
|
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 {
|
require('nvim-treesitter.configs').setup {
|
||||||
highlight = {
|
highlight = {
|
||||||
enable = true,
|
enable = true,
|
||||||
|
|
Loading…
Reference in a new issue