diff options
| author | zeertzjq <zeertzjq@outlook.com> | 2026-01-12 09:27:03 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-01-12 01:27:03 +0000 |
| commit | e790c87cd8bfd9198e8f2bb72f25d00038178beb (patch) | |
| tree | 1a51ca9b083e7a19a19c5b4acca38f499eba8dc9 /runtime/lua/vim | |
| parent | e01c42b43d85221ed10254e89b52d9a7e3cf1546 (diff) | |
| download | rneovim-e790c87cd8bfd9198e8f2bb72f25d00038178beb.tar.gz rneovim-e790c87cd8bfd9198e8f2bb72f25d00038178beb.tar.bz2 rneovim-e790c87cd8bfd9198e8f2bb72f25d00038178beb.zip | |
vim-patch:9.1.2078: A few more typos in various files (#37368)
Problem: A few more typos in various files
Solution: Fix those (zeertzjq, antonkesy)
related: neovim/neovim#37348
closes: vim/vim#19153
https://github.com/vim/vim/commit/6a2b5b2246833f7922e38eabab7090e29e89c3a1
Co-authored-by: Anton Kesy <anton@kesy.de>
Diffstat (limited to 'runtime/lua/vim')
| -rw-r--r-- | runtime/lua/vim/filetype/detect.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/lua/vim/filetype/detect.lua b/runtime/lua/vim/filetype/detect.lua index a58b7b485f..dfb3cee20c 100644 --- a/runtime/lua/vim/filetype/detect.lua +++ b/runtime/lua/vim/filetype/detect.lua @@ -108,7 +108,7 @@ function M.asm_syntax(_, bufnr) return 'masm' elseif line:find('Texas Instruments Incorporated') - -- tiasm uses `* commment`, but detection is unreliable if '/*' is seen + -- tiasm uses `* comment`, but detection is unreliable if '/*' is seen or (line:find('^%*') and not is_slash_star_encountered) then return 'tiasm' |