add hyprlang stuff

This commit is contained in:
2025-02-20 04:18:32 -08:00
parent f4e0406181
commit dc29310cf1
8 changed files with 105 additions and 32 deletions

View File

@@ -74,3 +74,17 @@ vim.api.nvim_create_autocmd({ "User" }, {
end,
})
-- }}}
-- {{{ Hyprlang LSP
vim.api.nvim_create_autocmd({ "BufEnter", "BufWinEnter" }, {
pattern = { "*.hl", "hypr*.conf" },
callback = function(event)
print(string.format("starting hyprls for %s", vim.inspect(event)))
vim.lsp.start({
name = "hyprlang",
cmd = { "hyprls" },
root_dir = vim.fn.getcwd(),
})
end,
})
--}}}