From 977e64ec8885782e098c38f1047dffa2d9a7eaed Mon Sep 17 00:00:00 2001 From: Noah Knegt Date: Fri, 12 Apr 2024 16:37:11 +0200 Subject: [PATCH] feat(nvim): Add gitconfig customfiletype Signed-off-by: Noah Knegt --- .config/nvim/lua/polish.lua | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/.config/nvim/lua/polish.lua b/.config/nvim/lua/polish.lua index 14c38cd..b959a7a 100644 --- a/.config/nvim/lua/polish.lua +++ b/.config/nvim/lua/polish.lua @@ -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 -- things like custom filetypes. This just pure lua so anything that doesn't -- 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 vim.filetype.add { extension = { - foo = "fooscript", - }, - filename = { - ["Foofile"] = "fooscript", - }, - pattern = { - ["~/%.config/foo/.*"] = "fooscript", + gitconfig = "gitconfig", }, }