mirror of
https://github.com/olexsmir/dotfiles.git
synced 2026-01-15 16:51:34 +02:00
convert init.vim in modules, update zsh && git
This commit is contained in:
parent
a4532907b4
commit
eb4f1a5b5a
14 changed files with 170 additions and 73 deletions
13
config/nvim/lua/n-colorizer.lua
Normal file
13
config/nvim/lua/n-colorizer.lua
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
require'colorizer'.setup(
|
||||
{'*';}, {
|
||||
mode = 'foreground';
|
||||
RGB = true; -- #RGB hex codes
|
||||
RRGGBB = true; -- #RRGGBB hex codes
|
||||
RRGGBBAA = false; -- #RRGGBBAA hex codes
|
||||
rgb_fn = true; -- CSS rgb() and rgba() functions
|
||||
hsl_fn = false; -- CSS hsl() and hsla() functions
|
||||
css = false; -- Enable all CSS features: rgb_fn, hsl_fn, names, RGB, RRGGBB
|
||||
css_fn = true; -- Enable all CSS *functions*: rgb_fn, hsl_fn
|
||||
names = false; -- "Name" codes like Blue
|
||||
}
|
||||
)
|
||||
18
config/nvim/lua/n-gitsigns.lua
Normal file
18
config/nvim/lua/n-gitsigns.lua
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
require'gitsigns'.setup {
|
||||
signs = {
|
||||
add = {hl = 'GitSignsAdd', text = '│'};
|
||||
change = {hl = 'GitSignsChange', text = '│'};
|
||||
delete = {hl = 'GitSignsDelete', text = '_'};
|
||||
topdelete = {hl = 'GitSignsDelete', text = '‾'};
|
||||
changedelete = {hl = 'GitSignsChange', text = '~'};
|
||||
};
|
||||
watch_index = {
|
||||
interval = 1000
|
||||
};
|
||||
current_line_blame = true,
|
||||
sign_priority = 6,
|
||||
update_debounce = 100,
|
||||
status_formatter = nil,
|
||||
use_decoration_api = true,
|
||||
use_internal_diff = true,
|
||||
}
|
||||
5
config/nvim/lua/n-lualine.lua
Normal file
5
config/nvim/lua/n-lualine.lua
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
require'lualine'.setup {
|
||||
options = {
|
||||
theme = "codedark"
|
||||
};
|
||||
}
|
||||
8
config/nvim/lua/n-nvimtree.lua
Normal file
8
config/nvim/lua/n-nvimtree.lua
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
local S = vim.g
|
||||
|
||||
-- Settings
|
||||
S.nvim_tree_side = "right"
|
||||
S.nvim_tree_ignore = {".git", "node_modules", "venv"}
|
||||
S.nvim_tree_auto_close = 0
|
||||
S.nvim_tree_quit_on_open = 0
|
||||
S.nvim_tree_width = 24
|
||||
Loading…
Add table
Add a link
Reference in a new issue