From 8761483509993e68c9b623e0e6f8cbdce6033456 Mon Sep 17 00:00:00 2001 From: Ivan Reshetnikov Date: Mon, 27 May 2024 12:51:11 +0500 Subject: [PATCH] chore: add elixir syntax highlighter, update neovim --- roles/neovim/files/lua/plugins.lua | 7 +++++-- roles/neovim/files/lua/treesitter-cfg.lua | 1 + roles/neovim/tasks/main.yml | 2 +- 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/roles/neovim/files/lua/plugins.lua b/roles/neovim/files/lua/plugins.lua index 08e3abe..ca524f9 100644 --- a/roles/neovim/files/lua/plugins.lua +++ b/roles/neovim/files/lua/plugins.lua @@ -17,7 +17,10 @@ require("lazy").setup({ -- Lualine { 'nvim-lualine/lualine.nvim' }, -- Gruvbox theme - { 'ellisonleao/gruvbox.nvim' }, + { + 'ellisonleao/gruvbox.nvim', + tag = '2.0.0', + }, -- Telescope { @@ -31,7 +34,7 @@ require("lazy").setup({ -- Nvim-treesitter { 'nvim-treesitter/nvim-treesitter', - tag = 'v0.9.1', + tag = 'v0.9.2', init = function() local ts_update = require('nvim-treesitter.install').update({ with_sync = true }) ts_update() diff --git a/roles/neovim/files/lua/treesitter-cfg.lua b/roles/neovim/files/lua/treesitter-cfg.lua index 52801ed..71b76a9 100644 --- a/roles/neovim/files/lua/treesitter-cfg.lua +++ b/roles/neovim/files/lua/treesitter-cfg.lua @@ -10,6 +10,7 @@ configs.setup { "diff", "dockerfile", "dot", + "elixir", "gdscript", "gitcommit", "gitignore", "gitattributes", "git_rebase", "git_config", "go", "gomod", diff --git a/roles/neovim/tasks/main.yml b/roles/neovim/tasks/main.yml index a0a6c1a..2cb70c9 100644 --- a/roles/neovim/tasks/main.yml +++ b/roles/neovim/tasks/main.yml @@ -7,7 +7,7 @@ ansible.builtin.git: repo: https://github.com/neovim/neovim dest: "{{ ansible_env.HOME }}/src/neovim" - version: v0.9.5 + version: v0.10.0 - name: Install build dependencies when: not stat_result.stat.exists become: true