Merge remote-tracking branch 'origin/main' into b12f
This commit is contained in:
commit
decf354138
|
@ -23,16 +23,17 @@ in
|
||||||
|
|
||||||
home-manager = with pkgs; pkgs.lib.setAttrByPath [ "users" psCfg.user.name ] {
|
home-manager = with pkgs; pkgs.lib.setAttrByPath [ "users" psCfg.user.name ] {
|
||||||
home.packages = [
|
home.packages = [
|
||||||
ag
|
|
||||||
ack
|
ack
|
||||||
|
ag
|
||||||
bat
|
bat
|
||||||
exa
|
exa
|
||||||
|
fd
|
||||||
gh
|
gh
|
||||||
|
glow
|
||||||
|
nnn
|
||||||
powerline
|
powerline
|
||||||
vifm
|
vifm
|
||||||
watson
|
watson
|
||||||
nnn
|
|
||||||
fd
|
|
||||||
];
|
];
|
||||||
|
|
||||||
programs.neovim = import ./nvim { inherit config; inherit pkgs; };
|
programs.neovim = import ./nvim { inherit config; inherit pkgs; };
|
||||||
|
|
|
@ -42,7 +42,9 @@ lua <<EOF
|
||||||
['workspace'] = vim.fn.stdpath('cache')..'/java-workspaces'
|
['workspace'] = vim.fn.stdpath('cache')..'/java-workspaces'
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
'jsonls', ------------------------------- JSON
|
['jsonls'] = { -------------------------- JSON
|
||||||
|
['cmd'] = {"json-languageserver", "--stdio"}
|
||||||
|
},
|
||||||
'phpactor', ----------------------------- PHP
|
'phpactor', ----------------------------- PHP
|
||||||
'pyls', --------------------------------- Python
|
'pyls', --------------------------------- Python
|
||||||
'rnix', --------------------------------- Nix
|
'rnix', --------------------------------- Nix
|
||||||
|
@ -94,7 +96,7 @@ let g:diagnostic_trimmed_virtual_text = '40'
|
||||||
let g:diagnostic_insert_delay = 1
|
let g:diagnostic_insert_delay = 1
|
||||||
|
|
||||||
" Show diagnostic popup on cursor hold
|
" Show diagnostic popup on cursor hold
|
||||||
autocmd CursorHold * lua vim.lsp.diagnostic.show_line_diagnostics()
|
autocmd CursorHold * lua vim.lsp.diagnostic.show_line_diagnostics({ focusable = false })
|
||||||
|
|
||||||
" Goto previous/next diagnostic warning/error
|
" Goto previous/next diagnostic warning/error
|
||||||
" nnoremap <silent> g[ <cmd>PrevDiagnosticCycle<cr>
|
" nnoremap <silent> g[ <cmd>PrevDiagnosticCycle<cr>
|
||||||
|
|
Loading…
Reference in a new issue