Added highlight script as lua instead of vim script

This commit is contained in:
SL1900
2025-12-22 16:14:06 +09:00
parent 649c0ff2cd
commit edbb1ae9b9
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()