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 vim.opt.expandtab = true
-- Automatically indent code -- Automatically indent code
vim.opt.smartindent = true vim.opt.smartindent = true
vim.opt.autoindent = true
-- Save the file when switching buffers -- Save the file when switching buffers
vim.opt.autowriteall = true vim.opt.autowriteall = true
+1 -1
View File
@@ -1,7 +1,7 @@
-- Filesystem manager -- Filesystem manager
-- require('helpers').edit_cf('po', '/lua/plugins/oil.lua') -- 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 { return {
'stevearc/oil.nvim', 'stevearc/oil.nvim',
+7 -7
View File
@@ -1,9 +1,9 @@
return { return {
"ThePrimeagen/refactoring.nvim", -- "ThePrimeagen/refactoring.nvim",
dependencies = { -- dependencies = {
"nvim-lua/plenary.nvim", -- "nvim-lua/plenary.nvim",
"nvim-treesitter/nvim-treesitter", -- "nvim-treesitter/nvim-treesitter",
}, -- },
lazy = false, -- lazy = false,
opts = {}, -- opts = {},
} }
+5
View File
@@ -19,6 +19,10 @@ return {
'vimdoc', 'vimdoc',
'php', 'php',
'yaml', 'yaml',
'vue',
'javascript',
'typescript',
'css',
} }
require('nvim-treesitter').install(langs) require('nvim-treesitter').install(langs)
@@ -26,6 +30,7 @@ return {
pattern = langs, pattern = langs,
callback = function() callback = function()
vim.treesitter.start() vim.treesitter.start()
vim.bo.indentexpr = "v:lua.require'nvim-treesitter'.indentexpr()"
end, end,
}) })
end, end,
-6
View File
@@ -8,12 +8,6 @@ return {
}, },
keys = { keys = {
-- 👇 in this section, choose your own keymappings! -- 👇 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 -- Open in the current working directory
'\\', '\\',