Drop ftdetect hack, set filetype used by plugin

This commit is contained in:
Caleb Maclennan 2019-12-26 18:36:46 +03:00
parent 534d845b85
commit 9e2279ae36
No known key found for this signature in database
GPG key ID: 63CC496475267693
2 changed files with 3 additions and 3 deletions

View file

@ -148,5 +148,5 @@ autocmd DocStart ^http(s?)://www.reddit.com js tri.excmds.urlmodify("-t", "www",
" Mosquito nets won't make themselves
autocmd DocStart ^http(s?)://www.amazon.co.uk js tri.excmds.urlmodify("-t", "www", "smile")
" This will have to do until someone writes us a nice syntax file :)
" vim: set filetype=vim:
" For syntax highlighting see https://github.com/tridactyl/vim-tridactyl
" vim: set filetype=tridactyl

View file

@ -1485,7 +1485,7 @@ export function parseConfig(): string {
if (p.logging.length > 0)
s.logging = `" Logging\n${p.logging.join("\n")}\n\n`
const ftdetect = `" vim: set filetype=vim:`
const ftdetect = `" For syntax highlighting see https://github.com/tridactyl/vim-tridactyl\n" vim: set filetype=tridactyl`
return `${s.general}${s.binds}${s.subconfigs}${s.aliases}${s.aucmds}${
s.aucons