Use minitree instead of oil

This commit is contained in:
Javier Feliz 2025-01-21 12:19:20 -05:00
parent 7513ceee28
commit f842f12bfb
3 changed files with 16 additions and 3 deletions

View File

@ -11,3 +11,13 @@ vim.api.nvim_create_autocmd('TextYankPost', {
vim.highlight.on_yank()
end,
})
-- Set the *.blade.php file to be filetype of blade
vim.api.nvim_create_augroup('BladeFileTypeRelated', { clear = true })
vim.api.nvim_create_autocmd({ 'BufNewFile', 'BufRead' }, {
pattern = '*.blade.php',
callback = function()
vim.opt.filetype = 'blade'
end,
group = 'BladeFileTypeRelated',
})

View File

@ -59,3 +59,8 @@ vim.opt.cursorline = true
-- Minimal number of screen lines to keep above and below the cursor.
vim.opt.scrolloff = 20
-- Enable all functions, equivalent to the default
vim.g.user_emmet_mode = 'i'
vim.wo.wrap = false

View File

@ -24,11 +24,9 @@ return {
parser_config.blade = {
install_info = {
url = 'https://github.com/EmranMR/tree-sitter-blade',
highlight = true,
files = { 'src/parser.c' },
branch = 'main',
},