diff --git a/users/price/dots/.config/hypr/.nvim.lua b/users/price/dots/.config/hypr/.nvim.lua new file mode 100644 index 00000000..d400462c --- /dev/null +++ b/users/price/dots/.config/hypr/.nvim.lua @@ -0,0 +1,11 @@ +local cur_dir = vim.fn.fnamemodify(debug.getinfo(1, "S").source:sub(2), ":p:h") + +vim.filetype.add({ + extension = { + conf = function(path) + if path:sub(1, cur_dir:len()) == cur_dir then + return "hyprlang" + end + end, + }, +})