Summary Files Commits Branches @commit @diff @stats
path: root / lua / plugins.lua
diff options
context:
space:
mode:
1 files changed, 25 insertions, 0 deletions
-rw-r--r--lua/plugins.lua25
diff --git a/lua/plugins.lua b/lua/plugins.lua
new file mode 100644
index 0000000..88d5eba
--- /dev/null
+++ b/lua/plugins.lua
@@ -0,0 +1,25 @@
+local Plug = vim.fn['plug#']
+vim.call('plug#begin')
+
+Plug("morhetz/gruvbox") -- Color theme
+Plug("nvim-treesitter/nvim-treesitter")
+
+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", "nord", "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" })