feat(hypr): add .nvim.lua file
Some checks failed
Check Formatting of Files / Check-Formatting (push) Failing after 1m6s

This commit is contained in:
Price Hiller 2024-06-28 01:34:55 -05:00
parent 6c7bc41f37
commit b9f26e154a
Signed by: Price
GPG Key ID: C3FADDE7A8534BEB

View File

@ -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,
},
})