mirror of
https://github.com/neovim/neovim.git
synced 2024-12-19 10:45:16 -07:00
ba40a6dbe3
Problem: filetype: leo files are not recognized
Solution: detect '*.leo' files as leo filetype, include
a filetype plugin (Riley Bruins)
References:
https://github.com/ProvableHQ/leo
closes: vim/vim#15988
93f65a4ab8
Co-authored-by: Riley Bruins <ribru17@hotmail.com>
14 lines
259 B
VimL
14 lines
259 B
VimL
" Vim filetype plugin
|
|
" Language: Leo
|
|
" Maintainer: Riley Bruins <ribru17@gmail.com>
|
|
" Last Change: 2024 Nov 03
|
|
|
|
if exists('b:did_ftplugin')
|
|
finish
|
|
endif
|
|
let b:did_ftplugin = 1
|
|
|
|
setl comments=:// commentstring=//\ %s
|
|
|
|
let b:undo_ftplugin = 'setl com< cms<'
|