Use minitree instead of oil
This commit is contained in:
parent
7513ceee28
commit
f842f12bfb
@ -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',
|
||||
})
|
||||
|
@ -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
|
||||
|
@ -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',
|
||||
},
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user