Compare commits
2 commits
aa3374fba2
...
a546c4705c
Author | SHA1 | Date | |
---|---|---|---|
Daniel Siepmann | a546c4705c | ||
Daniel Siepmann | 77df84ade7 |
|
@ -49,6 +49,7 @@ nix_subshell () {
|
|||
# check for IN_NIX_SHELL
|
||||
if [[ "$IN_NIX_SHELL" ]]; then
|
||||
prompt_color="yellow"
|
||||
export SHELL=$(which zsh)
|
||||
fi
|
||||
}
|
||||
add-zsh-hook precmd nix_subshell
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
setlocal commentstring=//\ %s
|
||||
|
||||
syn spell toplevel
|
||||
|
||||
setlocal commentstring=//\ %s
|
||||
setlocal foldmethod=indent
|
||||
setlocal omnifunc=v:lua.vim.lsp.omnifunc
|
||||
|
|
|
@ -46,3 +46,7 @@ set scrolloff=1000
|
|||
" Custom highlighting
|
||||
match Todo /TODO\|NOTE\|todo\|TASK/
|
||||
match ERROR /♥/
|
||||
|
||||
" As I sometimes open neovim inside a nix-shell where default SHELL is bash instead of zsh.
|
||||
" This would break some of my autocommands using ** expansion.
|
||||
set shell=zsh
|
||||
|
|
Loading…
Reference in a new issue