home/neovim: Terraform plugin and Nix language server
This commit is contained in:
parent
74024d92d5
commit
debe2224c4
|
@ -3,6 +3,8 @@
|
||||||
enable = true;
|
enable = true;
|
||||||
withPython3 = true;
|
withPython3 = true;
|
||||||
extraPackages = with pkgs; [
|
extraPackages = with pkgs; [
|
||||||
|
nil
|
||||||
|
nixpkgs-fmt
|
||||||
(python3.withPackages (ps: with ps; [
|
(python3.withPackages (ps: with ps; [
|
||||||
black
|
black
|
||||||
flake8
|
flake8
|
||||||
|
@ -47,6 +49,9 @@
|
||||||
# markdown
|
# markdown
|
||||||
vim-markdown
|
vim-markdown
|
||||||
tabular
|
tabular
|
||||||
|
|
||||||
|
vim-terraform
|
||||||
|
vim-nix
|
||||||
];
|
];
|
||||||
extraConfig = ''
|
extraConfig = ''
|
||||||
set nocompatible
|
set nocompatible
|
||||||
|
@ -99,6 +104,14 @@
|
||||||
set undoreload=1000
|
set undoreload=1000
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
" Having longer updatetime (default is 4000 ms = 4s) leads to noticeable
|
||||||
|
" delays and poor user experience
|
||||||
|
set updatetime=300
|
||||||
|
|
||||||
|
" Always show the signcolumn, otherwise it would shift the text each time
|
||||||
|
" diagnostics appear/become resolved
|
||||||
|
set signcolumn=yes
|
||||||
|
|
||||||
" dont start with a fully folded document
|
" dont start with a fully folded document
|
||||||
set nofoldenable
|
set nofoldenable
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue