Added highlight script as lua instead of vim script

This commit is contained in:
2025-12-22 16:14:06 +09:00
parent e0cb572962
commit 0387dcec96
2 changed files with 170 additions and 2 deletions
+2 -2
View File
@@ -145,5 +145,5 @@ vim.diagnostic.config({
},
})
local highlight_script_path = debug.getinfo(1, "S").source:match("@?(.*[\\/])")
vim.cmd("source " .. highlight_script_path .. "vim/highlight/highlight.vim")
local highlight = require("highlight")
highlight.setup()