nvim: change colorscheme, fix treesitter
This commit is contained in:
parent
dca683a6e1
commit
122d0b2297
@ -1,5 +1,9 @@
|
||||
|
||||
local status, _ = pcall(require, "gruvbox")
|
||||
local status, colorscheme = pcall(require, "nightfox")
|
||||
if (not status) then return end
|
||||
|
||||
vim.cmd.colorscheme("gruvbox")
|
||||
colorscheme.compile()
|
||||
|
||||
colorscheme.setup()
|
||||
|
||||
vim.cmd.colorscheme("nightfox")
|
||||
|
||||
@ -1,10 +1,9 @@
|
||||
|
||||
local status, nvim_treesitter = pcall(require, "nvim-treesitter")
|
||||
local status, nvim_treesitter = pcall(require, "nvim-treesitter.configs")
|
||||
if (not status) then return end
|
||||
|
||||
nvim_treesitter.setup {
|
||||
ensure_installed = {"python", "lua", "vim", "html", "rust"},
|
||||
sync_install = true,
|
||||
ensure_installed = {"python", "lua", "vim", "html", "rust", "markdown"},
|
||||
auto_install = true,
|
||||
|
||||
highlight = {
|
||||
|
||||
@ -21,6 +21,9 @@ local plugins = {
|
||||
'nvim-lualine/lualine.nvim',
|
||||
dependencies = { 'kyazdani42/nvim-web-devicons' }
|
||||
},
|
||||
{
|
||||
'EdenEast/nightfox.nvim'
|
||||
},
|
||||
{
|
||||
'ellisonleao/gruvbox.nvim' -- colorscheme
|
||||
},
|
||||
|
||||
@ -15,7 +15,7 @@ opt.clipboard:append { 'unnamedplus' }
|
||||
|
||||
opt.shortmess:append { s = true, I = true} -- disable startup message
|
||||
|
||||
opt.shell = 'bash'
|
||||
opt.shell = 'zsh'
|
||||
|
||||
opt.ttimeoutlen = 50
|
||||
opt.timeoutlen = 500
|
||||
@ -65,7 +65,7 @@ opt.scrolloff = 7
|
||||
|
||||
|
||||
opt.termguicolors = true
|
||||
vim.cmd [[highlight IndentBlanklineIndent1 guifg=#4E5754 gui=nocombine]]
|
||||
vim.cmd [[highlight IndentBlanklineIndent1 guifg=#464e60 gui=nocombine]]
|
||||
|
||||
opt.background = 'dark'
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user