aboutsummaryrefslogtreecommitdiff
path: root/runtime/lua/vim/filetype
diff options
context:
space:
mode:
authordundargoc <gocdundar@gmail.com>2025-01-13 15:48:02 +0100
committerdundargoc <33953936+dundargoc@users.noreply.github.com>2025-01-30 13:46:06 +0100
commite71d2c817d1a2475551f58a98e411f6b39a5be3f (patch)
tree3aa4bb3f3740ab7e96ac66eb7fe71499eb0280af /runtime/lua/vim/filetype
parent86ae59c6128641d8be612c3bdc9f4b190434c0d3 (diff)
downloadrneovim-e71d2c817d1a2475551f58a98e411f6b39a5be3f.tar.gz
rneovim-e71d2c817d1a2475551f58a98e411f6b39a5be3f.tar.bz2
rneovim-e71d2c817d1a2475551f58a98e411f6b39a5be3f.zip
docs: misc
Co-authored-by: Dustin S. <dstackmasta27@gmail.com> Co-authored-by: Ferenc Fejes <fejes@inf.elte.hu> Co-authored-by: Maria José Solano <majosolano99@gmail.com> Co-authored-by: Yochem van Rosmalen <git@yochem.nl> Co-authored-by: brianhuster <phambinhanctb2004@gmail.com> Co-authored-by: zeertzjq <zeertzjq@outlook.com>
Diffstat (limited to 'runtime/lua/vim/filetype')
-rw-r--r--runtime/lua/vim/filetype/detect.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/lua/vim/filetype/detect.lua b/runtime/lua/vim/filetype/detect.lua
index 91c0406dc0..fc0b45ecd8 100644
--- a/runtime/lua/vim/filetype/detect.lua
+++ b/runtime/lua/vim/filetype/detect.lua
@@ -34,7 +34,7 @@ local matchregex = vim.filetype._matchregex
-- can be detected from the first five lines of the file.
--- @type vim.filetype.mapfn
function M.asm(path, bufnr)
- -- tiasm uses `* commment`
+ -- tiasm uses `* comment`
local lines = table.concat(getlines(bufnr, 1, 10), '\n')
if findany(lines, { '^%*', '\n%*', 'Texas Instruments Incorporated' }) then
return 'tiasm'