mirror of
https://github.com/neovim/neovim.git
synced 2026-03-06 17:17:21 +00:00
docs(lua): explain and link to lua patterns (#18206)
also correct explanation of when it's allowed to omit parens in Lua function calls
This commit is contained in:
@@ -1487,7 +1487,7 @@ end
|
||||
--- Filetype mappings can be added either by extension or by filename (either
|
||||
--- the "tail" or the full file path). The full file path is checked first,
|
||||
--- followed by the file name. If a match is not found using the filename, then
|
||||
--- the filename is matched against the list of patterns (sorted by priority)
|
||||
--- the filename is matched against the list of |lua-patterns| (sorted by priority)
|
||||
--- until a match is found. Lastly, if pattern matching does not find a
|
||||
--- filetype, then the file extension is used.
|
||||
---
|
||||
|
||||
Reference in New Issue
Block a user