refactor: move `polish` to a separate file

pull/7/head
Micah Halter 2024-02-13 13:52:12 -05:00
parent 395d8d895b
commit cb61bab710
No known key found for this signature in database
GPG Key ID: 4224A6EA9A8CAAA8
2 changed files with 19 additions and 16 deletions

View File

@ -48,19 +48,4 @@ lazy.setup({
},
} --[[@as LazyConfig]])
-- 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
-- Set up custom filetypes
-- vim.filetype.add {
-- extension = {
-- foo = "fooscript",
-- },
-- filename = {
-- ["Foofile"] = "fooscript",
-- },
-- pattern = {
-- ["~/%.config/foo/.*"] = "fooscript",
-- },
-- }
require "polish"

18
lua/polish.lua Normal file
View File

@ -0,0 +1,18 @@
if true then return end -- 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
-- Set up custom filetypes
vim.filetype.add {
extension = {
foo = "fooscript",
},
filename = {
["Foofile"] = "fooscript",
},
pattern = {
["~/%.config/foo/.*"] = "fooscript",
},
}