feat(hypr): add .nvim.lua
file
Some checks failed
Check Formatting of Files / Check-Formatting (push) Failing after 1m6s
Some checks failed
Check Formatting of Files / Check-Formatting (push) Failing after 1m6s
This commit is contained in:
parent
6c7bc41f37
commit
b9f26e154a
11
users/price/dots/.config/hypr/.nvim.lua
Normal file
11
users/price/dots/.config/hypr/.nvim.lua
Normal 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,
|
||||
},
|
||||
})
|
Loading…
Reference in New Issue
Block a user