mirror of
https://github.com/neovim/neovim.git
synced 2024-12-24 05:05:00 -07:00
fbbb9d6f7b
Problem: filetype: LLVM IR files are not recognized
Solution: detect '*.ll' files either as lifelines or llvm filetype
(Wu, Zhenyu)
closes: vim/vim#15824
bc32bbddcf
N/A patch:
vim-patch:7e4b861: runtime(filetype): remove duplicated *.org file pattern
Co-authored-by: Wu, Zhenyu <wuzhenyu@ustc.edu>
13 lines
286 B
VimL
13 lines
286 B
VimL
" Vim filetype plugin file
|
|
" Language: LLVM IR
|
|
" Last Change: 2024 Oct 22
|
|
" Maintainer: Wu, Zhenyu <wuzhenyu@ustc.edu>
|
|
|
|
if exists("b:did_ftplugin") | finish | endif
|
|
let b:did_ftplugin = 1
|
|
|
|
setl comments=:;
|
|
setl commentstring=;\ %s
|
|
|
|
let b:undo_ftplugin = "setl commentstring< comments<"
|