all repos

init.lua @ 0603a326f006453c252e9c20cf06171cb9eb419a

my nvim config
2 files changed, 4 insertions(+), 1 deletions(-)
feat(filetype): auto detect hypr, kitty configs, and better recognition of .envs
Author: Oleksandr Smirnov olexsmir@gmail.com
Committed at: 2025-04-18 18:59:35 +0300
Parent: 3dd24a5
A after/ftplugin/kitty.lua

@@ -0,0 +1,1 @@

+vim.treesitter.language.register("bash", "kitty")
M filetype.lua

@@ -18,8 +18,10 @@ [".stignore"] = "gitignore",

["todo.txt"] = "todotxt", }, pattern = { - [".env.*"] = "sh", + ["%.env%.[%w_.-]+"] = "sh", ["*.Dockerfile.*"] = "dockerfile", ["*/templates/**/*.html"] = "htmldjango", + [".*/hypr/.+%.conf"] = "hyprlang", + [".*/kitty/.+%.conf"] = "kitty", }, }