mirror of
https://github.com/neovim/neovim.git
synced 2025-10-08 02:46:31 +00:00
vim-patch:9.1.1829: filetype: KerML and SysML files are not recognized (#36042)
Problem: filetype: KerML and SysML files are not recognized
Solution: Detect *.kerml as kerml filetype, detect *.sysml as sysml
filetype, include a kerml and sysml filetype plugin
(Daumantas Kavolis)
closes: vim/vim#18476
b73ccf7ff0
Co-authored-by: Daumantas Kavolis <daumantas.kavolis@sensmetry.com>
This commit is contained in:
@@ -420,6 +420,7 @@ func s:GetFilenameChecks() abort
|
||||
\ 'karel': ['file.kl', 'file.KL'],
|
||||
\ 'kconfig': ['Kconfig', 'Kconfig.debug', 'Kconfig.file', 'Config.in', 'Config.in.host'],
|
||||
\ 'kdl': ['file.kdl'],
|
||||
\ 'kerml': ['file.kerml'],
|
||||
\ 'kitty': ['kitty.conf', '~/.config/kitty/colorscheme.conf'],
|
||||
\ 'kivy': ['file.kv'],
|
||||
\ 'kix': ['file.kix'],
|
||||
@@ -778,6 +779,7 @@ func s:GetFilenameChecks() abort
|
||||
\ 'swiftgyb': ['file.swift.gyb'],
|
||||
\ 'swig': ['file.swg', 'file.swig'],
|
||||
\ 'sysctl': ['/etc/sysctl.conf', '/etc/sysctl.d/file.conf', 'any/etc/sysctl.conf', 'any/etc/sysctl.d/file.conf'],
|
||||
\ 'sysml': ['file.sysml'],
|
||||
\ 'systemd': ['any/systemd/file.automount', 'any/systemd/file.dnssd',
|
||||
\ 'any/systemd/file.link', 'any/systemd/file.mount',
|
||||
\ 'any/systemd/file.netdev', 'any/systemd/file.network',
|
||||
|
Reference in New Issue
Block a user