mirror of
https://github.com/arkorty/Neolite.git
synced 2026-03-17 16:51:42 +00:00
Expand tab with 4 spaces and change colorscheme to gruvbox
This commit is contained in:
@@ -1,8 +1,8 @@
|
||||
local ok, _ = pcall(require, "hardhacker")
|
||||
local ok, _ = pcall(require, "gruvbox")
|
||||
if not ok then
|
||||
return
|
||||
end
|
||||
|
||||
-- setup must be called before loading
|
||||
vim.opt.termguicolors = true
|
||||
vim.cmd.colorscheme("hardhacker")
|
||||
vim.cmd.colorscheme("gruvbox")
|
||||
|
||||
@@ -2,13 +2,13 @@
|
||||
-- This function is taken from https://github.com/norcalli/nvim_utils
|
||||
local function nvim_create_augroups(definitions)
|
||||
for group_name, definition in pairs(definitions) do
|
||||
vim.api.nvim_command('augroup ' .. group_name)
|
||||
vim.api.nvim_command('autocmd!')
|
||||
vim.api.nvim_command("augroup " .. group_name)
|
||||
vim.api.nvim_command("autocmd!")
|
||||
for _, def in ipairs(definition) do
|
||||
local command = table.concat(vim.tbl_flatten { 'autocmd', def }, ' ')
|
||||
local command = table.concat(vim.tbl_flatten({ "autocmd", def }), " ")
|
||||
vim.api.nvim_command(command)
|
||||
end
|
||||
vim.api.nvim_command('augroup END')
|
||||
vim.api.nvim_command("augroup END")
|
||||
end
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user