aboutsummaryrefslogtreecommitdiff
path: root/runtime/lua
diff options
context:
space:
mode:
authorChristian Clason <c.clason@uni-graz.at>2024-12-12 22:16:05 +0100
committerChristian Clason <ch.clason+github@icloud.com>2024-12-13 09:38:08 +0100
commit2e73ba102ac65f08fdbb6d2b87e90390abdca10c (patch)
tree4fd59305658b063d5a6b5f3acc878134f61015af /runtime/lua
parent17383870dd3b7f04eddd48ed929cc25c7e102277 (diff)
downloadrneovim-2e73ba102ac65f08fdbb6d2b87e90390abdca10c.tar.gz
rneovim-2e73ba102ac65f08fdbb6d2b87e90390abdca10c.tar.bz2
rneovim-2e73ba102ac65f08fdbb6d2b87e90390abdca10c.zip
vim-patch:9.1.0919: filetype: some assembler files are not recognized
Problem: filetype: some assembler are files not recognized Solution: detect '*.nasm' files as nasm filetype and '*.masm' as masm filetype (Wu, Zhenyu) closes: vim/vim#16194 https://github.com/vim/vim/commit/d66d68763d0947c292a9fdda4da6fda3650fa563 Co-authored-by: Wu, Zhenyu <wuzhenyu@ustc.edu>
Diffstat (limited to 'runtime/lua')
-rw-r--r--runtime/lua/vim/filetype.lua2
1 files changed, 2 insertions, 0 deletions
diff --git a/runtime/lua/vim/filetype.lua b/runtime/lua/vim/filetype.lua
index b983e7d1c6..8a51d2a9d3 100644
--- a/runtime/lua/vim/filetype.lua
+++ b/runtime/lua/vim/filetype.lua
@@ -743,6 +743,7 @@ local extension = {
mkd = detect.markdown,
markdown = detect.markdown,
mdown = detect.markdown,
+ masm = 'masm',
mhtml = 'mason',
mason = 'mason',
master = 'master',
@@ -805,6 +806,7 @@ local extension = {
n1ql = 'n1ql',
nql = 'n1ql',
nanorc = 'nanorc',
+ nasm = 'nasm',
NSA = 'natural',
NSC = 'natural',
NSG = 'natural',