I have some zsh function files that I should not add extensions to for the convenience of calling, i.e. my_func
instead of my_func.zsh
. But this causes an issue that Neovim cannot detect their filetypes since I also use nvim-treesitter that does :syntax off
/:filetype off
by default.
So, is it possible to have a local setting file located in a folder so that those files at the same level will all be set to the specified filetype?
*.py
files that I want to display in a web browser; the server executes them instead. What I did is create matching*.code
files for references in the HTML. The trick is to have one of each pair be a symbolic link to the other (hard links are even better, but you have to occasionally check to make sure they haven't become unlinked).