feat(neovim): update config
This commit is contained in:
parent
5a6de0b6c8
commit
906f41da4d
6 changed files with 12 additions and 12 deletions
|
@ -2,7 +2,7 @@ if did_filetype()
|
|||
finish
|
||||
endif
|
||||
if getline(1) =~ '^#!.*nix-shell'
|
||||
let s:matches = matchlist(getline(2), '^#!.*nix-shell -i \([^ \t\n]\+\)')
|
||||
let s:matches = matchlist(getline(2), '^#!.*nix-shell .*-i \([^ \t\n]\+\)')
|
||||
let s:command = s:matches[1]
|
||||
echo s:command
|
||||
if s:command != ''
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue