Cleanup for minimal setup, nearly there!
This commit is contained in:
+13
-10
@@ -3,6 +3,7 @@ map = vim.keymap.set
|
|||||||
vim.g.termguicolors = true
|
vim.g.termguicolors = true
|
||||||
vim.g.netrw_keepdir = 1
|
vim.g.netrw_keepdir = 1
|
||||||
vim.g.netrw_winsize = 30
|
vim.g.netrw_winsize = 30
|
||||||
|
vim.g.netrw_liststyle = 3
|
||||||
vim.g.netrw_browse_split = 4
|
vim.g.netrw_browse_split = 4
|
||||||
vim.o.nu = true
|
vim.o.nu = true
|
||||||
vim.o.swapfile = false
|
vim.o.swapfile = false
|
||||||
@@ -18,9 +19,6 @@ vim.o.clipboard = "unnamedplus"
|
|||||||
vim.o.foldmethod = "expr"
|
vim.o.foldmethod = "expr"
|
||||||
vim.o.foldlevel = 99
|
vim.o.foldlevel = 99
|
||||||
vim.o.completeopt = "menuone,noselect,fuzzy,nosort"
|
vim.o.completeopt = "menuone,noselect,fuzzy,nosort"
|
||||||
vim.opt.listchars:append("tab:> ")
|
|
||||||
vim.opt.shortmess:append("c")
|
|
||||||
vim.o.list = true
|
|
||||||
vim.o.undofile = true
|
vim.o.undofile = true
|
||||||
vim.o.undodir = os.getenv("HOME") .. "/.cache/nvim/undodir"
|
vim.o.undodir = os.getenv("HOME") .. "/.cache/nvim/undodir"
|
||||||
vim.cmd.colorscheme("retrobox")
|
vim.cmd.colorscheme("retrobox")
|
||||||
@@ -52,28 +50,35 @@ vim.pack.add({
|
|||||||
{ src = 'https://github.com/ibhagwan/fzf-lua' },
|
{ src = 'https://github.com/ibhagwan/fzf-lua' },
|
||||||
{ src = 'https://github.com/neovim/nvim-lspconfig' },
|
{ src = 'https://github.com/neovim/nvim-lspconfig' },
|
||||||
{ src = 'https://github.com/echasnovski/mini.nvim' },
|
{ src = 'https://github.com/echasnovski/mini.nvim' },
|
||||||
{ src = 'https://github.com/sheerun/vim-polyglot' },
|
|
||||||
{ src = 'https://github.com/romus204/tree-sitter-manager.nvim' },
|
{ src = 'https://github.com/romus204/tree-sitter-manager.nvim' },
|
||||||
{ src = 'https://github.com/xiyaowong/transparent.nvim' },
|
{ src = 'https://github.com/xiyaowong/transparent.nvim' },
|
||||||
{ src = "https://github.com/rebelot/kanagawa.nvim" },
|
{ src = "https://github.com/rebelot/kanagawa.nvim" },
|
||||||
|
{ src = "https://github.com/lukas-reineke/indent-blankline.nvim" }
|
||||||
})
|
})
|
||||||
|
|
||||||
|
require("terminal")
|
||||||
require("mini.completion").setup()
|
require("mini.completion").setup()
|
||||||
|
require('mini.statusline').setup({})
|
||||||
require("tree-sitter-manager").setup()
|
require("tree-sitter-manager").setup()
|
||||||
|
require("ibl").setup({
|
||||||
|
indent = { char = "│" },
|
||||||
|
scope = { show_start = false, show_end = false },
|
||||||
|
})
|
||||||
require('kanagawa').setup({
|
require('kanagawa').setup({
|
||||||
commentStyle = { italic = false },
|
commentStyle = { italic = false },
|
||||||
keywordStyle = { italic = false },
|
keywordStyle = { italic = false },
|
||||||
transparent = true,
|
transparent = true,
|
||||||
overrides = function(colors)
|
overrides = function(colors)
|
||||||
return {
|
return {
|
||||||
SignColumn = { bg = "none" },
|
SignColumn = { bg = "none" },
|
||||||
LineNr = { bg = "none" },
|
LineNr = { bg = "none" },
|
||||||
CursorLineNr = { bg = "none" },
|
CursorLineNr = { bg = "none" },
|
||||||
FoldColumn = { bg = "none" },
|
FoldColumn = { bg = "none" },
|
||||||
}
|
}
|
||||||
end,
|
end,
|
||||||
})
|
})
|
||||||
vim.cmd.colorscheme('kanagawa')
|
vim.cmd.colorscheme('kanagawa')
|
||||||
|
vim.api.nvim_set_hl(0, "WinSeparator", { fg = "#54546D" })
|
||||||
|
|
||||||
-- Lsp specific, uses nvim-lspconfigs with the below
|
-- Lsp specific, uses nvim-lspconfigs with the below
|
||||||
vim.lsp.enable({ "gopls", "ols" })
|
vim.lsp.enable({ "gopls", "ols" })
|
||||||
@@ -119,5 +124,3 @@ vim.api.nvim_create_autocmd("BufWritePre", {
|
|||||||
vim.fn.setpos(".", save_cursor)
|
vim.fn.setpos(".", save_cursor)
|
||||||
end,
|
end,
|
||||||
})
|
})
|
||||||
|
|
||||||
require("terminal")
|
|
||||||
|
|||||||
@@ -152,6 +152,7 @@ if [ "$DO_INSTALL" = true ]; then
|
|||||||
ca-certificates gnupg fuse rsync fish-shell
|
ca-certificates gnupg fuse rsync fish-shell
|
||||||
noto-fonts-ttf noto-fonts-emoji go xdotool wmctrl
|
noto-fonts-ttf noto-fonts-emoji go xdotool wmctrl
|
||||||
kanata tree-sitter-cli gitu polybar rofi
|
kanata tree-sitter-cli gitu polybar rofi
|
||||||
|
universal-ctags
|
||||||
)
|
)
|
||||||
|
|
||||||
MISSING_PACKAGES=()
|
MISSING_PACKAGES=()
|
||||||
|
|||||||
Reference in New Issue
Block a user