mirror of
https://github.com/arkorty/Neolite.git
synced 2026-03-18 00:57:12 +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
|
if not ok then
|
||||||
return
|
return
|
||||||
end
|
end
|
||||||
|
|
||||||
-- setup must be called before loading
|
-- setup must be called before loading
|
||||||
vim.opt.termguicolors = true
|
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
|
-- This function is taken from https://github.com/norcalli/nvim_utils
|
||||||
local function nvim_create_augroups(definitions)
|
local function nvim_create_augroups(definitions)
|
||||||
for group_name, definition in pairs(definitions) do
|
for group_name, definition in pairs(definitions) do
|
||||||
vim.api.nvim_command('augroup ' .. group_name)
|
vim.api.nvim_command("augroup " .. group_name)
|
||||||
vim.api.nvim_command('autocmd!')
|
vim.api.nvim_command("autocmd!")
|
||||||
for _, def in ipairs(definition) do
|
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)
|
vim.api.nvim_command(command)
|
||||||
end
|
end
|
||||||
vim.api.nvim_command('augroup END')
|
vim.api.nvim_command("augroup END")
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user