Compare commits

...

2 Commits

Author SHA1 Message Date
chris 086682194b Refactor causing issues 2026-04-28 21:33:20 +01:00
Chris 96ddb7a611 Stuff 2026-04-21 08:00:23 +01:00
5 changed files with 15 additions and 15 deletions
+1
View File
@@ -75,6 +75,7 @@ vim.opt.softtabstop = 4
vim.opt.expandtab = true
-- Automatically indent code
vim.opt.smartindent = true
vim.opt.autoindent = true
-- Save the file when switching buffers
vim.opt.autowriteall = true
+1 -1
View File
@@ -1,7 +1,7 @@
-- Filesystem manager
-- require('helpers').edit_cf('po', '/lua/plugins/oil.lua')
--
-- vim.keymap.set('n', '-', '<CMD>Oil<CR>', { desc = 'Open parent directory' })
vim.keymap.set('n', '-', '<CMD>Oil<CR>', { desc = 'Open parent directory' })
return {
'stevearc/oil.nvim',
+7 -7
View File
@@ -1,9 +1,9 @@
return {
"ThePrimeagen/refactoring.nvim",
dependencies = {
"nvim-lua/plenary.nvim",
"nvim-treesitter/nvim-treesitter",
},
lazy = false,
opts = {},
-- "ThePrimeagen/refactoring.nvim",
-- dependencies = {
-- "nvim-lua/plenary.nvim",
-- "nvim-treesitter/nvim-treesitter",
-- },
-- lazy = false,
-- opts = {},
}
+5
View File
@@ -19,6 +19,10 @@ return {
'vimdoc',
'php',
'yaml',
'vue',
'javascript',
'typescript',
'css',
}
require('nvim-treesitter').install(langs)
@@ -26,6 +30,7 @@ return {
pattern = langs,
callback = function()
vim.treesitter.start()
vim.bo.indentexpr = "v:lua.require'nvim-treesitter'.indentexpr()"
end,
})
end,
-6
View File
@@ -8,12 +8,6 @@ return {
},
keys = {
-- 👇 in this section, choose your own keymappings!
{
'-',
mode = { 'n', 'v' },
'<cmd>Yazi<cr>',
desc = 'Open yazi at the current file',
},
{
-- Open in the current working directory
'\\',