Summary Files Commits Branches @commit @diff @stats
path: root / lua / plugins.lua
blob: 07534eb6ad6c70eb144f547e45a5018d6f2a1504 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
local Plug = vim.fn['plug#']
vim.call('plug#begin')

Plug("morhetz/gruvbox") -- Color theme
Plug("nvim-treesitter/nvim-treesitter")
Plug("neovim/nvim-lspconfig")

vim.call('plug#end')

--[==[ gruvbox ]==]--

vim.o.background = "dark"
vim.g.gruvbox_contrast_dark = "hard"
vim.cmd("colorscheme gruvbox")

--[==[ treesitter ]==]--

require("nvim-treesitter.configs").setup({
	ensure_installed = "all",
	ignore_install = { "liquidsoap", "norg", "tlaplus", "yaml" }, -- Can't compile
	highlight = { enable = true },
	incremental_selection = { enable = true },
	textobjects = { enable = true },
})
vim.cmd.highlight({ "link", "@variable", "GruvboxFg1" })
vim.cmd.highlight({ "link", "@operator", "GruvboxOrange" })