mirror of
https://gitlab.com/dwt1/dotfiles.git
synced 2026-08-10 01:51:15 +10:00
made neovim config using XDG_BASE_FOLDER specifications
This commit is contained in:
@@ -0,0 +1,28 @@
|
||||
-------------------------------------------------
|
||||
-- DT'S NEOVIM CONFIGURATION
|
||||
-- Neovim website: https://neovim.io/
|
||||
-- DT's dotfiles: https://gitlab.com/dwt1/dotfiles
|
||||
-------------------------------------------------
|
||||
-------------------------------------------------
|
||||
-- COLORSCHEMES
|
||||
-------------------------------------------------
|
||||
|
||||
-- Uncomment just ONE of the following colorschemes!
|
||||
-- local ok, _ = pcall(vim.cmd, 'colorscheme base16-dracula')
|
||||
-- local ok, _ = pcall(vim.cmd, 'colorscheme base16-gruvbox-dark-medium')
|
||||
-- local ok, _ = pcall(vim.cmd, 'colorscheme base16-monokai')
|
||||
-- local ok, _ = pcall(vim.cmd, 'colorscheme base16-nord')
|
||||
-- local ok, _ = pcall(vim.cmd, 'colorscheme base16-oceanicnext')
|
||||
local ok, _ = pcall(vim.cmd, "colorscheme base16-onedark")
|
||||
-- local ok, _ = pcall(vim.cmd, 'colorscheme palenight')
|
||||
-- local ok, _ = pcall(vim.cmd, 'colorscheme base16-solarized-dark')
|
||||
-- local ok, _ = pcall(vim.cmd, 'colorscheme base16-solarized-light')
|
||||
-- local ok, _ = pcall(vim.cmd, 'colorscheme base16-tomorrow-night')
|
||||
|
||||
-- Highlight the region on yank
|
||||
A.nvim_create_autocmd("TextYankPost", {
|
||||
group = num_au,
|
||||
callback = function()
|
||||
vim.highlight.on_yank({ higroup = "Visual", timeout = 120 })
|
||||
end,
|
||||
})
|
||||
Reference in New Issue
Block a user