This commit is contained in:
Charlotte 🦝 Delenk 2022-01-19 09:21:15 +01:00
parent 69781ac9de
commit 54dba9c77e
Signed by: darkkirb
GPG key ID: 015E3768A70AFBC5

View file

@ -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
]; ];
}; };
} }