mirror of
https://github.com/neovim/neovim.git
synced 2024-12-19 18:55:14 -07:00
0264870c0a
Problem: filetype: MLIR files are not recognized
Solution: Detect '*.mlir' files as mlir filetype,
include a mlir filetype plugin
(Wu, Zhenyu)
closes: vim/vim#15826
347d43bd33
Co-authored-by: Wu, Zhenyu <wuzhenyu@ustc.edu>
11 lines
218 B
VimL
11 lines
218 B
VimL
" Vim filetype plugin file
|
|
" Language: MLIR
|
|
|
|
if exists("b:did_ftplugin") | finish | endif
|
|
let b:did_ftplugin = 1
|
|
|
|
setl comments=:///,://
|
|
setl commentstring=//\ %s
|
|
|
|
let b:undo_ftplugin = "setl commentstring< comments<"
|