fix project search in vim

This commit is contained in:
Cyryl Płotnicki 2021-09-22 12:49:08 +01:00
parent 10d48bf350
commit 801c812259
2 changed files with 9 additions and 6 deletions

View file

@ -44,6 +44,6 @@ command! -nargs=0 OR :call CocAction('runCommand', 'editor.action.organize
set statusline^=%{coc#status()}%{get(b:,'coc_current_function','')} set statusline^=%{coc#status()}%{get(b:,'coc_current_function','')}
" ack " ack
let g:ackprg = 'rga --vimgrep --smart-case' let g:ackprg = 'rg --vimgrep --smart-case'
let g:ack_autoclose = 1 let g:ack_autoclose = 1
let g:ack_use_cword_for_empty_search = 1 let g:ack_use_cword_for_empty_search = 1

View file

@ -1,6 +1,9 @@
{ config, pkgs, ... }: { config, pkgs, ... }:
{ {
home.file.".vimrc".source = ../../../.vimrc.nixos; home.file.".vimrc".source = ../../../.vimrc.nixos;
home.packages = with pkgs; [
ripgrep
];
programs.neovim = { programs.neovim = {
enable = true; enable = true;
viAlias = true; viAlias = true;