aboutsummaryrefslogtreecommitdiffstats
path: root/lua/alpha/plugins
diff options
context:
space:
mode:
authorAriel D'Alessandro <ariel.dalessandro@auto1.com>2023-01-18 16:49:19 +0100
committerAriel D'Alessandro <ariel.dalessandro@auto1.com>2023-01-18 16:49:19 +0100
commit28c72016bd53f640ee757844dee9b7bacf518a02 (patch)
treea59c6893597b308d62a7d000e2dd527260842f31 /lua/alpha/plugins
parentb3b19c488dfd8688fb3813f553b509cd87ad8462 (diff)
downloadnvim-conf-28c72016bd53f640ee757844dee9b7bacf518a02.tar.gz
nvim-conf-28c72016bd53f640ee757844dee9b7bacf518a02.zip
feat: update, and add easy aling
Diffstat (limited to 'lua/alpha/plugins')
-rw-r--r--lua/alpha/plugins/easy-align.lua4
-rw-r--r--lua/alpha/plugins/treesitter.lua2
2 files changed, 5 insertions, 1 deletions
diff --git a/lua/alpha/plugins/easy-align.lua b/lua/alpha/plugins/easy-align.lua
new file mode 100644
index 0000000..5f62713
--- /dev/null
+++ b/lua/alpha/plugins/easy-align.lua
@@ -0,0 +1,4 @@
+return {
+ "junegunn/vim-easy-align",
+ keys = { { "ga", "<Plug>(EasyAlign)", mode = { "n", "v" } } },
+}
diff --git a/lua/alpha/plugins/treesitter.lua b/lua/alpha/plugins/treesitter.lua
index 8bb6026..49a1d16 100644
--- a/lua/alpha/plugins/treesitter.lua
+++ b/lua/alpha/plugins/treesitter.lua
@@ -8,7 +8,7 @@ return {
},
config = function()
require "nvim-treesitter.configs".setup {
- ensure_installed = { "php", "phpdoc", "vim", "go", "gomod", "css", "html", "javascript", "lua", "typescript" },
+ ensure_installed = { "php", "phpdoc", "vim", "go", "gomod", "css", "html", "javascript", "lua", "typescript", "yaml" },
highlight = {
enable = true,
additional_vim_regex_highlighting = false,