feat: bootstrap neovim configuration with Lazy.nvim and AstroNvim
This commit is contained in:
commit
08d5780f92
16 files changed
+731
No files matched your search
@@ -0,0 +1,20 @@
|
||||
-- /home/stevearc/.config/nvim/lua/overseer/template/user/run_script.lua
|
||||
return {
|
||||
name = "run script",
|
||||
builder = function()
|
||||
local file = vim.fn.expand "%:p"
|
||||
local cmd = { file }
|
||||
if vim.bo.filetype == "templ" then cmd = { "templ", "generate" } end
|
||||
return {
|
||||
cmd = cmd,
|
||||
components = {
|
||||
{ "on_output_quickfix", set_diagnostics = true },
|
||||
"on_result_diagnostics",
|
||||
"default",
|
||||
},
|
||||
}
|
||||
end,
|
||||
condition = {
|
||||
filetype = { "templ" },
|
||||
},
|
||||
}
|
||||
Reference in new issue
Block a user