mirror of
https://github.com/neovim/neovim.git
synced 2026-05-01 11:34:56 +00:00
vim-patch:8a31de6dd275 (#28361)
compiler(rime_deployer): include new compiler, use it for '*.custom.yaml' files (vim/vim#14460)
8a31de6dd2
Co-authored-by: wzy <32936898+Freed-Wu@users.noreply.github.com>
This commit is contained in:
@@ -16,6 +16,13 @@ let b:undo_ftplugin = "setl com< cms< et< fo<"
|
||||
setlocal comments=:# commentstring=#\ %s expandtab
|
||||
setlocal formatoptions-=t formatoptions+=croql
|
||||
|
||||
" rime input method engine uses `*.custom.yaml` as its config files
|
||||
if expand('%:r:e') ==# 'custom'
|
||||
compiler rime_deployer
|
||||
setlocal include=__include:\\s*
|
||||
let b:undo_ftplugin ..= " inc<"
|
||||
endif
|
||||
|
||||
if !exists("g:yaml_recommended_style") || g:yaml_recommended_style != 0
|
||||
let b:undo_ftplugin ..= " sw< sts<"
|
||||
setlocal shiftwidth=2 softtabstop=2
|
||||
|
||||
Reference in New Issue
Block a user