From 49f7908c8ca701f7d33393a2a2bdb78110dfc99b Mon Sep 17 00:00:00 2001 From: Maciej Lebiest Date: Sun, 26 May 2024 21:33:28 +0200 Subject: [PATCH] switch sls files to (kinda) builtin highlighting --- lua/general.lua | 2 +- lua/lazy-load.lua | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/lua/general.lua b/lua/general.lua index 2ca6b7d..4c307de 100644 --- a/lua/general.lua +++ b/lua/general.lua @@ -79,5 +79,5 @@ vim.opt.shiftwidth = 4 -- width for autoindents vim.cmd [[ highlight clear colorscheme gruvbox + autocmd BufNewFile,BufRead *.sls set filetype=sls.yaml.jinja2 ]] - --autocmd BufNewFile,BufRead *.sls set filetype=yaml.jinja2 diff --git a/lua/lazy-load.lua b/lua/lazy-load.lua index cc11d5b..77c7508 100644 --- a/lua/lazy-load.lua +++ b/lua/lazy-load.lua @@ -128,9 +128,9 @@ require("lazy").setup({ opts = require('plugins.neogit').config }, - { 'Glench/Vim-Jinja2-Syntax', priority = 15 }, - { 'vmware-archive/salt-vim', priority = 10 }, - { 'stephpy/vim-yaml' }, -- for proper sls syntax highlighting when jinja + --{ 'Glench/Vim-Jinja2-Syntax', priority = 15 }, + --{ 'vmware-archive/salt-vim', priority = 10 }, + --{ 'stephpy/vim-yaml' }, -- for proper sls syntax highlighting when jinja { 'lukas-reineke/indent-blankline.nvim', main = "ibl",