update jinja stuff
All checks were successful
Build neovim image / build-neovim-arm64 (push) Successful in 11m38s
Build neovim image / build-neovim-amd64 (push) Successful in 13m5s
Build neovim image / update-images-manifest (push) Successful in 22s

This commit is contained in:
Maciej Lebiest 2024-10-13 20:14:30 +02:00
parent d593845959
commit 9bcaf4cc77
2 changed files with 22 additions and 14 deletions

View file

@ -33,6 +33,7 @@ function switch_virtual_text()
virtual_text = VIRTUAL_TEXT_ENABLED,
})
end
map("n", "<leader>vt", ":lua switch_virtual_text()<CR>")
map("c", "<C-r>", ":Telescope command_history<CR>")
map("n", "<leader>gs", ":Telescope git_status<CR>")
@ -76,8 +77,14 @@ vim.opt.tabstop = 4 -- number of columns occupied by a tab
vim.opt.softtabstop = 4 -- see multiple spaces as tabstops so <BS> does the right thing
vim.opt.expandtab = true -- converts tabs to white space
vim.opt.shiftwidth = 4 -- width for autoindents
vim.filetype.add({
extension = {
sls = "sls.yaml.jinja",
jinja = 'jinja',
jinja2 = 'jinja',
j2 = 'jinja',
},
})
vim.cmd [[
highlight clear
colorscheme gruvbox
autocmd BufNewFile,BufRead *.sls set filetype=sls.yaml.jinja2
]]

View file

@ -152,7 +152,8 @@ require("lazy").setup({
opts = require('plugins.lualine').config
},
{ 'RRethy/vim-illuminate' },
{ 'sheerun/vim-polyglot' },
--{ 'sheerun/vim-polyglot' }, -- not maintained
{ 'HiPhish/jinja.vim' },
-- themes
{ "ellisonleao/gruvbox.nvim", priority = 1000, config = true },