mirror of
https://gitlab.com/sagidayan/linux-config.git
synced 2024-11-14 03:35:26 +00:00
Sagi Dayan
1219325293
Removed all debian/ubuntu CI and tasks. Focusing on fedora. Moved some gh_releases tasks to dnf since they are all in the fedora repos. Signed-off-by: Sagi Dayan <sagidayan@gmail.com>
39 lines
1 KiB
Lua
39 lines
1 KiB
Lua
--
|
|
-- setup some plugins
|
|
--
|
|
|
|
-- NvimTree empty setup using defaults
|
|
local tree_status_ok, tree = pcall(require, "nvim-tree")
|
|
if tree_status_ok then
|
|
tree.setup()
|
|
end
|
|
|
|
-- Symbols outline
|
|
local symbols_status_ok, symbols = pcall(require, "symbols-outline")
|
|
if symbols_status_ok then
|
|
symbols.setup()
|
|
end
|
|
|
|
-- Git signs (Gutter)
|
|
local gitsigns_status_ok, gitsigns = pcall(require, "gitsigns")
|
|
if gitsigns_status_ok then
|
|
gitsigns.setup {
|
|
current_line_blame = true, -- Toggle with `:Gitsigns toggle_current_line_blame`
|
|
current_line_blame_opts = {
|
|
virt_text = true,
|
|
virt_text_pos = 'eol', -- 'eol' | 'overlay' | 'right_align'
|
|
delay = 1000,
|
|
ignore_whitespace = false,
|
|
},
|
|
current_line_blame_formatter = '[<abbrev_sha>] <author>, <author_time:%Y-%m-%d> - <summary>',
|
|
}
|
|
end
|
|
|
|
-- Telescope
|
|
local _, _ = pcall(require, "telescope.builtin")
|
|
|
|
-- Autopairs
|
|
local autopairs_status_ok, autopairs = pcall(require, "nvim-autopairs")
|
|
if autopairs_status_ok then
|
|
autopairs.setup {}
|
|
end
|