mirror of
https://github.com/vim/vim
synced 2025-03-15 06:17:51 +01:00
Problem: filetype: MLIR files are not recognized Solution: Detect '*.mlir' files as mlir filetype, include a mlir filetype plugin (Wu, Zhenyu) closes: #15826 Signed-off-by: Wu, Zhenyu <wuzhenyu@ustc.edu> Signed-off-by: Christian Brabandt <cb@256bit.org>
10 lines
218 B
VimL
10 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<"
|