百度 四是担当的力量。
Questions about the creation, usage and debugging of filetype plugins.
5 questions with no upvoted or accepted answers
2
votes
1
answer
90
views
Why does explicitly setting `filetype plugin indent on` in neovim have an effect?
I'm using neovim 0.10.1 where filetype plugin indent on is a default value and supposedly not necessary anymore in init.vim. However, explicitly setting it makes my
In my init.vim I add compatibility ...
0
votes
0
answers
13
views
windows: refuses to open a certain file via netrw / ftp (but ok will all others)
I usually don't have any problems opening files with the following line at work (where I don't have admin access) from gvim with:
:e ftp://<myusername>@ftp.<mydomain>.co.uk/path/<...
0
votes
1
answer
75
views
Neovim vim.g.ftplugin_sql_omni_key = 0 not working
I am trying to edit an sql file in neovim. However the ftplugin/sql.vim (which I cant even find) sets some keybindings that start with <C-c> which is my <ESC> key.
I want searched the ...
0
votes
1
answer
29
views
Setting guard variables does not prevent default ftplugin/syntax/indent files from running
I want to prevent the default ftplugin/syntax/indent files from running for tex files.
I have a tex.vim in the $XDG_CONFIG_HOME/nvim/ftplugin directory, i confirmed it runs before the default ftplugin/...
0
votes
0
answers
302
views
Filetype inheritance
I know that it's not very common, but there are few cases in which I would really like to inherit the configurations for one filetype in another.
Example: whatever I set for sh I would like to inherit ...