mirror of
https://github.com/L3MON4D3/LuaSnip
synced 2024-09-16 21:54:03 +02:00
13 lines
338 B
VimL
13 lines
338 B
VimL
" Vim filetype plugin for SnipMate snippets (.snippets files)
|
|
|
|
if exists("b:did_ftplugin")
|
|
finish
|
|
endif
|
|
let b:did_ftplugin = 1
|
|
|
|
let b:undo_ftplugin = "setl cms< fdm< fde<"
|
|
|
|
setlocal foldmethod=expr foldexpr=getline(v:lnum)=~'^#\\\|^e\\\|^p'?0:getline(v:lnum)!~'^\\t\\\|^\ \\\|^$'?'>1':1
|
|
|
|
setlocal commentstring=#\ %s
|
|
setlocal nospell
|