vim: enable filetype detection for local SSH configurations

This commit is contained in:
Fernando Schauenburg 2022-12-14 12:16:58 +01:00
parent b52c289738
commit c3fd8e6f9e
2 changed files with 7 additions and 0 deletions

View file

@ -6,4 +6,5 @@ require 'fs.options'
require 'fs.plugins'
require 'fs.keymaps'
require 'fs.autocmds'
require 'fs.filetypes'

View file

@ -0,0 +1,6 @@
vim.filetype.add {
pattern = {
['${HOME}/.ssh/config.d/.*'] = 'sshconfig',
}
}