mirror of
https://github.com/davegallant/nix-config
synced 2025-08-07 09:12:28 +00:00
Add nvim-lspconfig and several language servers
This commit is contained in:
@@ -39,6 +39,11 @@ in
|
|||||||
starship
|
starship
|
||||||
tokei
|
tokei
|
||||||
|
|
||||||
|
# language servers
|
||||||
|
nodePackages.bash-language-server
|
||||||
|
nodePackages.yaml-language-server
|
||||||
|
nodePackages.pyright
|
||||||
|
|
||||||
# productivity
|
# productivity
|
||||||
bat
|
bat
|
||||||
colordiff
|
colordiff
|
||||||
|
6
flake.lock
generated
6
flake.lock
generated
@@ -27,11 +27,11 @@
|
|||||||
]
|
]
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1625694413,
|
"lastModified": 1625909913,
|
||||||
"narHash": "sha256-goRLk1I/OMclS9i17g932wyHyjiKI+htbuFIWIkzTbw=",
|
"narHash": "sha256-ZP3RCGYwPDu4I5rwLYER2/d4aHFxiMTQ5Ioc89WRTow=",
|
||||||
"owner": "nix-community",
|
"owner": "nix-community",
|
||||||
"repo": "home-manager",
|
"repo": "home-manager",
|
||||||
"rev": "06ee8ec8dfc4554c374052cd7b7083765748af99",
|
"rev": "9ed7a73ae23f0d905bd098c6ce71c50289d37928",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
@@ -287,12 +287,9 @@ in
|
|||||||
|
|
||||||
extraConfig = builtins.readFile ./nvim/init.vim;
|
extraConfig = builtins.readFile ./nvim/init.vim;
|
||||||
plugins = with pkgs.vimPlugins; [
|
plugins = with pkgs.vimPlugins; [
|
||||||
coc-go
|
|
||||||
coc-json
|
|
||||||
coc-nvim
|
|
||||||
coc-rls
|
|
||||||
gruvbox
|
gruvbox
|
||||||
nerdtree
|
nerdtree
|
||||||
|
nvim-lspconfig
|
||||||
rust-vim
|
rust-vim
|
||||||
supertab
|
supertab
|
||||||
syntastic
|
syntastic
|
||||||
|
@@ -132,4 +132,14 @@ autocmd FileType java setlocal omnifunc=javacomplete#Complete
|
|||||||
" vim-prettier
|
" vim-prettier
|
||||||
let g:prettier#autoformat = 1
|
let g:prettier#autoformat = 1
|
||||||
|
|
||||||
|
lua << EOF
|
||||||
|
require'lspconfig'.bashls.setup{}
|
||||||
|
require'lspconfig'.pyright.setup{}
|
||||||
|
require'lspconfig'.rls.setup{}
|
||||||
|
require'lspconfig'.rnix.setup{}
|
||||||
|
require'lspconfig'.terraformls.setup{}
|
||||||
|
require'lspconfig'.tflint.setup{}
|
||||||
|
require'lspconfig'.yamlls.setup{}
|
||||||
|
EOF
|
||||||
|
|
||||||
source ~/.config/nvim/statusline.vim
|
source ~/.config/nvim/statusline.vim
|
||||||
|
Reference in New Issue
Block a user