summaryrefslogtreecommitdiff
path: root/nvim/lua/plugins
diff options
context:
space:
mode:
Diffstat (limited to 'nvim/lua/plugins')
-rw-r--r--nvim/lua/plugins/lsp.lua0
-rw-r--r--nvim/lua/plugins/telescope.lua30
-rw-r--r--nvim/lua/plugins/treesitter.lua14
3 files changed, 44 insertions, 0 deletions
diff --git a/nvim/lua/plugins/lsp.lua b/nvim/lua/plugins/lsp.lua
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/nvim/lua/plugins/lsp.lua
diff --git a/nvim/lua/plugins/telescope.lua b/nvim/lua/plugins/telescope.lua
new file mode 100644
index 0000000..0cadb4e
--- /dev/null
+++ b/nvim/lua/plugins/telescope.lua
@@ -0,0 +1,30 @@
+return {
+ defaults = {
+ -- Default configuration for telescope goes here:
+ -- config_key = value,
+ mappings = {
+ i = {
+ -- map actions.which_key to <C-h> (default: <C-/>)
+ -- actions.which_key shows the mappings for your picker,
+ -- e.g. git_{create, delete, ...}_branch for the git_branches picker
+ ["<C-h>"] = "which_key"
+ }
+ }
+ },
+ pickers = {
+ -- Default configuration for builtin pickers goes here:
+ -- picker_name = {
+ -- picker_config_key = value,
+ -- ...
+ -- }
+ -- Now the picker_config_key will be applied every time you call this
+ -- builtin picker
+ },
+ extensions = {
+ -- Your extension configuration goes here:
+ -- extension_name = {
+ -- extension_config_key = value,
+ -- }
+ -- please take a look at the readme of the extension you want to configure
+ }
+}
diff --git a/nvim/lua/plugins/treesitter.lua b/nvim/lua/plugins/treesitter.lua
new file mode 100644
index 0000000..4b0360f
--- /dev/null
+++ b/nvim/lua/plugins/treesitter.lua
@@ -0,0 +1,14 @@
+return {
+ ensure_installed = {
+ "lua",
+ "vim",
+ "vimdoc",
+ },
+
+ highlight = {
+ enable = true,
+ use_languagetree = true,
+ },
+
+ indent.enable = true,
+}