feat(nvim): Add gitconfig customfiletype
Signed-off-by: Noah Knegt <git@noahknegt.com>
This commit is contained in:
@@ -1,5 +1,3 @@
|
|||||||
if true then return end -- WARN: REMOVE THIS LINE TO ACTIVATE THIS FILE
|
|
||||||
|
|
||||||
-- This will run last in the setup process and is a good place to configure
|
-- This will run last in the setup process and is a good place to configure
|
||||||
-- things like custom filetypes. This just pure lua so anything that doesn't
|
-- things like custom filetypes. This just pure lua so anything that doesn't
|
||||||
-- fit in the normal config locations above can go here
|
-- fit in the normal config locations above can go here
|
||||||
@@ -7,12 +5,6 @@ if true then return end -- WARN: REMOVE THIS LINE TO ACTIVATE THIS FILE
|
|||||||
-- Set up custom filetypes
|
-- Set up custom filetypes
|
||||||
vim.filetype.add {
|
vim.filetype.add {
|
||||||
extension = {
|
extension = {
|
||||||
foo = "fooscript",
|
gitconfig = "gitconfig",
|
||||||
},
|
|
||||||
filename = {
|
|
||||||
["Foofile"] = "fooscript",
|
|
||||||
},
|
|
||||||
pattern = {
|
|
||||||
["~/%.config/foo/.*"] = "fooscript",
|
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user