aboutsummaryrefslogtreecommitdiff
path: root/runtime/lua/vim
diff options
context:
space:
mode:
authorzeertzjq <zeertzjq@outlook.com>2025-11-13 08:22:11 +0800
committerGitHub <noreply@github.com>2025-11-13 00:22:11 +0000
commit756043760b59adb2e708cfbb6c8f5c0674ba4537 (patch)
tree4ca5c10cb2ba6ce8f64a2b7ea26a68641122361d /runtime/lua/vim
parent5582005ac76640f9cbda24937662a83fb5a65abb (diff)
downloadrneovim-756043760b59adb2e708cfbb6c8f5c0674ba4537.tar.gz
rneovim-756043760b59adb2e708cfbb6c8f5c0674ba4537.tar.bz2
rneovim-756043760b59adb2e708cfbb6c8f5c0674ba4537.zip
vim-patch:9.1.1909: filetype: .mom files recognized as nroff files (#36543)
Problem: filetype: .mom files recognized as nroff files Solution: Detect *.mom files as groff filetype instead (Callum Andrew) Reference: - mom macros are written specifically for groff: https://www.schaffter.ca/mom/ closes: vim/vim#18718 https://github.com/vim/vim/commit/23e12c0b7ec02cc374f111fd9dfaa84734dbb7f5 Co-authored-by: Callum Andrew <dev@candrew.net>
Diffstat (limited to 'runtime/lua/vim')
-rw-r--r--runtime/lua/vim/filetype.lua3
1 files changed, 2 insertions, 1 deletions
diff --git a/runtime/lua/vim/filetype.lua b/runtime/lua/vim/filetype.lua
index b83ae1c248..6fad0abde7 100644
--- a/runtime/lua/vim/filetype.lua
+++ b/runtime/lua/vim/filetype.lua
@@ -549,6 +549,8 @@ local extension = {
graphql = 'graphql',
graphqls = 'graphql',
gretl = 'gretl',
+ groff = 'groff',
+ mom = 'groff',
gradle = 'groovy',
groovy = 'groovy',
gsp = 'gsp',
@@ -874,7 +876,6 @@ local extension = {
roff = 'nroff',
tmac = 'nroff',
man = 'nroff',
- mom = 'nroff',
nr = 'nroff',
tr = 'nroff',
nsi = 'nsis',