Overseer
This commit is contained in:
parent
a91efd762c
commit
c55ae33c51
14
init.lua
14
init.lua
|
@ -492,7 +492,19 @@ mason_lspconfig.setup_handlers {
|
|||
end
|
||||
}
|
||||
vim.opt.termguicolors = true
|
||||
require("bufferline").setup{}
|
||||
local bufferline = require("bufferline")
|
||||
bufferline.setup{
|
||||
options = {
|
||||
offsets = {
|
||||
{
|
||||
filetype = "NvimTree",
|
||||
text = "Virginity",
|
||||
highlight = "Directory",
|
||||
seperator = true,
|
||||
},
|
||||
},
|
||||
}
|
||||
}
|
||||
|
||||
require("nvim-tree").setup {}
|
||||
|
||||
|
|
|
@ -23,6 +23,7 @@
|
|||
"nvim-treesitter-textobjects": { "branch": "master", "commit": "bd103502252027434ec42f628d2dbf54821d4ce6" },
|
||||
"nvim-web-devicons": { "branch": "master", "commit": "45d0237c427baba8cd05e0ab26d30e2ee58c2c82" },
|
||||
"onedark.nvim": { "branch": "master", "commit": "dac8c39812dae025255c9069a260e1f69d967927" },
|
||||
"overseer.nvim": { "branch": "master", "commit": "8065976876cea89d0b99ffef4d997b930296f0e8" },
|
||||
"plenary.nvim": { "branch": "master", "commit": "9ce85b0f7dcfe5358c0be937ad23e456907d410b" },
|
||||
"telescope-file-browser.nvim": { "branch": "master", "commit": "6e51d0cd6447cf2525412220ff0a2885eef9039c" },
|
||||
"telescope-fzf-native.nvim": { "branch": "main", "commit": "6c921ca12321edaa773e324ef64ea301a1d0da62" },
|
||||
|
|
|
@ -0,0 +1,6 @@
|
|||
return {
|
||||
'stevearc/overseer.nvim',
|
||||
opts = {
|
||||
templates = { "builtin", "user.run_script" },
|
||||
},
|
||||
}
|
|
@ -0,0 +1,22 @@
|
|||
-- /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 == "go" then
|
||||
cmd = { "go", "run", file }
|
||||
end
|
||||
return {
|
||||
cmd = cmd,
|
||||
components = {
|
||||
{ "on_output_quickfix", set_diagnostics = true },
|
||||
"on_result_diagnostics",
|
||||
"default",
|
||||
},
|
||||
}
|
||||
end,
|
||||
condition = {
|
||||
filetype = { "sh", "python", "go" },
|
||||
},
|
||||
}
|
Loading…
Reference in New Issue