From 0e0e5e301c9f013dd53a1c7dde4487b2688215be Mon Sep 17 00:00:00 2001 From: Lucas Barbieri Date: Thu, 28 Mar 2024 16:38:29 -0300 Subject: [PATCH] add hyprland syntax highlighting not useful at all its all screwed up --- init.lua | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/init.lua b/init.lua index 36ed009..e6cbf1d 100644 --- a/init.lua +++ b/init.lua @@ -107,6 +107,16 @@ require('lazy').setup({ 'nvim-treesitter/nvim-treesitter-textobjects', }, build = ':TSUpdate', + config = function(_, opts) + vim.filetype.add { + extension = { rasi = 'rasi' }, + pattern = { + ['.*/waybar/config'] = 'jsonc', + ['.*/kitty/*.conf'] = 'bash', + ['.*/hypr/.*%.conf'] = 'hyprlang', + }, + } + end }, require 'kickstart.plugins.autoformat',