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 = {
|
||||
enable = true;
|
||||
coc = {
|
||||
|
@ -155,7 +155,7 @@
|
|||
" Add (Neo)Vim's native statusline support.
|
||||
" NOTE: Please see `:h coc-status` for integrations with external plugins that
|
||||
" 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
|
||||
" Show all diagnostics.
|
||||
|
@ -181,6 +181,7 @@
|
|||
ctrlp-vim
|
||||
vim-nix
|
||||
tagbar
|
||||
coc-nvim
|
||||
];
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue