[zsh,nvim] Set up vim's &path based on zsh's FPATH
This commit is contained in:
parent
711dd78a2f
commit
d1e8f59c53
3 changed files with 22 additions and 0 deletions
6
config/nvim/ftdetect/zsh.lua
Normal file
6
config/nvim/ftdetect/zsh.lua
Normal file
|
@ -0,0 +1,6 @@
|
|||
-- Eryn Wells <eryn@erynwells.me>
|
||||
|
||||
vim.api.nvim_create_autocmd({"BufRead", "BufNewFile"}, {
|
||||
pattern = {"*/zsh/*"},
|
||||
command = "setfiletype zsh",
|
||||
})
|
Loading…
Add table
Add a link
Reference in a new issue