Improved neovim setup
This commit is contained in:
parent
b837c73857
commit
8a6a63ba4e
2 changed files with 7 additions and 6 deletions
10
home.nix
10
home.nix
|
@ -60,12 +60,12 @@
|
||||||
"$HOME/.bin/calculate-nix-path"
|
"$HOME/.bin/calculate-nix-path"
|
||||||
|
|
||||||
# neovim
|
# neovim
|
||||||
echo -n "Running LuaCacheClear: "
|
echo -n 'Removing luacache file: '
|
||||||
nvim -c 'try | execute "LuaCacheClear" | echo "Done" | catch /.*/ | echo "Command not found" | endtry | q' --headless
|
|
||||||
printf '\nRemoving luacache file: '
|
|
||||||
rm -f "$HOME/.cache/nvim/luacache"
|
rm -f "$HOME/.cache/nvim/luacache"
|
||||||
echo "Done"
|
echo 'Done'
|
||||||
echo 'Running TSUpdateSync ...'
|
echo -n 'Running LuaCacheClear: '
|
||||||
|
nvim -c 'try | execute "LuaCacheClear" | echo "Done" | catch /.*/ | echo "Command not found" | endtry | q' --headless
|
||||||
|
printf '\nRunning TSUpdateSync ... '
|
||||||
nvim -c 'try | execute "TSUpdateSync" | echo "Done" | catch /.*/ | echo "Command not found" | endtry | q' --headless
|
nvim -c 'try | execute "TSUpdateSync" | echo "Done" | catch /.*/ | echo "Command not found" | endtry | q' --headless
|
||||||
printf '\n'
|
printf '\n'
|
||||||
'';
|
'';
|
||||||
|
|
|
@ -25,7 +25,8 @@ in
|
||||||
withPython3 = false;
|
withPython3 = false;
|
||||||
|
|
||||||
extraConfig = ''
|
extraConfig = ''
|
||||||
let $CC = '${pkgs.clang}/bin/cc'
|
let $CC = '${pkgs.clang}/bin/clang'
|
||||||
|
let $CXX = '${pkgs.clang}/bin/clang++'
|
||||||
|
|
||||||
lua require('impatient')
|
lua require('impatient')
|
||||||
lua require('nix_init')
|
lua require('nix_init')
|
||||||
|
|
Loading…
Reference in a new issue