runtime(xkb): Include a simple xkb ftplugin

Commit: 
https://github.com/vim/vim/commit/14eddc7d46f2e6830beb00834f33eb272d028e82
Author: GX <[email protected]>
Date:   Sun Mar 1 17:12:00 2026 +0000

    runtime(xkb): Include a simple xkb ftplugin
    
    Problem:  There is a xkb syntax, but no filetype plugin.
    Solution: Create a filetype plugin and set the comment and commentstring
              options for the xkb filetype (xkb = X keyboard extension)
    
    closes: #19537
    
    Signed-off-by: GX <[email protected]>
    Signed-off-by: Christian Brabandt <[email protected]>

diff --git a/runtime/ftplugin/xkb.vim b/runtime/ftplugin/xkb.vim
new file mode 100644
index 000000000..73ca32e98
--- /dev/null
+++ b/runtime/ftplugin/xkb.vim
@@ -0,0 +1,14 @@
+" Vim filetype plugin
+" Language:    xkb (X keyboard extension)
+" Maintainer:  The Vim Project <https://github.com/vim/vim>
+" Last Change: 2026 Mar 01
+
+if exists('b:did_ftplugin')
+  finish
+endif
+let b:did_ftplugin = 1
+
+setl comments=://
+setl commentstring=//\ %s
+
+let b:undo_ftplugin = 'setl com< cms<'

-- 
-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion visit 
https://groups.google.com/d/msgid/vim_dev/E1vwkNl-001gcW-PF%40256bit.org.

Raspunde prin e-mail lui