diff --git a/init.lua b/init.lua index bc681330..5c22645c 100644 --- a/init.lua +++ b/init.lua @@ -669,6 +669,7 @@ require('lazy').setup({ -- python -> LSP: basedpyright, Formatter & linter -- https://github.com/astral-sh/ruff/blob/main/crates/ruff_server/docs/setup/NEOVIM.md + -- https://docs.astral.sh/ruff/editors/setup/#neovim ruff = { -- Disable hover in favor of Pyright on_attach = on_attach_ruff, diff --git a/lua/custom/plugins/auto-session.lua b/lua/custom/plugins/auto-session.lua new file mode 100644 index 00000000..4916001c --- /dev/null +++ b/lua/custom/plugins/auto-session.lua @@ -0,0 +1,20 @@ +return { + { + 'rmagatti/auto-session', + lazy = false, + dependencies = { + 'nvim-telescope/telescope.nvim', -- Only needed if you want to use sesssion lens + }, + keys = { + -- Will use Telescope if installed or a vim.ui.select picker otherwise + { 'wr', 'SessionSearch', desc = 'Session search' }, + -- { 'ws', 'SessionSave', desc = 'Save session' }, + -- { 'wa', 'SessionToggleAutoSave', desc = 'Toggle autosave' }, + }, + config = function() + require('auto-session').setup { + auto_session_suppress_dirs = { '~/', '~/Projects', '~/Downloads', '/' }, + } + end, + }, +} diff --git a/lua/custom/plugins/copilot.lua b/lua/custom/plugins/copilot.lua new file mode 100644 index 00000000..1e43a590 --- /dev/null +++ b/lua/custom/plugins/copilot.lua @@ -0,0 +1,9 @@ +return { + { + 'github/copilot.vim', + -- let g:copilot_enabled = v:false + init = function() + -- vim.g.copilot_enabled = false + end, + }, +} diff --git a/lua/custom/plugins/html.lua b/lua/custom/plugins/html.lua index e57a357c..f6ace577 100644 --- a/lua/custom/plugins/html.lua +++ b/lua/custom/plugins/html.lua @@ -1,12 +1,12 @@ return { { 'windwp/nvim-ts-autotag', - -- ft = { - -- 'html', - -- 'javascript', - -- 'typescript', - -- 'svelte', - -- }, + ft = { + 'html', + 'javascript', + 'typescript', + 'svelte', + }, config = function() require('nvim-ts-autotag').setup { -- opts = {