Skip to main content
Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Code code:"if (foo != bar)"
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Saves in:saves
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with
Search options questions only not deleted user 31324

Questions about the creation, usage and debugging of filetype plugins.

3 votes
1 answer
3k views

Neovim automatically run command when opening a filetype from ftplugin file

I have Neovim setup with configurations for file types separated into ftplugin files. I would like to have Neovim start the Goyo plugin when I open a markdown file. … I have a markdown config located in ...nvim/ftplugin/markdown.vim. Neovim is able to read it. Should I use autocmd? Or is there another method for doing this that is cleaner and easier? …
Eugene Grechko's user avatar