add coc
This commit is contained in:
parent
69781ac9de
commit
54dba9c77e
1 changed files with 3 additions and 2 deletions
|
@ -1,4 +1,4 @@
|
||||||
{ pkgs, ... }: {
|
{ pkgs, ... }: let dsquotes = "''"; in {
|
||||||
programs.neovim = {
|
programs.neovim = {
|
||||||
enable = true;
|
enable = true;
|
||||||
coc = {
|
coc = {
|
||||||
|
@ -155,7 +155,7 @@
|
||||||
" Add (Neo)Vim's native statusline support.
|
" Add (Neo)Vim's native statusline support.
|
||||||
" NOTE: Please see `:h coc-status` for integrations with external plugins that
|
" NOTE: Please see `:h coc-status` for integrations with external plugins that
|
||||||
" provide custom statusline: lightline.vim, vim-airline.
|
" provide custom statusline: lightline.vim, vim-airline.
|
||||||
set statusline^=%{coc#status()}%{get(b:,'coc_current_function',\'\')}
|
set statusline^=%{coc#status()}%{get(b:,'coc_current_function',${dsquotes})}
|
||||||
|
|
||||||
" Mappings for CoCList
|
" Mappings for CoCList
|
||||||
" Show all diagnostics.
|
" Show all diagnostics.
|
||||||
|
@ -181,6 +181,7 @@
|
||||||
ctrlp-vim
|
ctrlp-vim
|
||||||
vim-nix
|
vim-nix
|
||||||
tagbar
|
tagbar
|
||||||
|
coc-nvim
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue