This commit is contained in:
Yaser Alraddadi 2024-08-19 02:00:42 +03:00
parent 24b705b6ab
commit 0862adc22e
4 changed files with 36 additions and 6 deletions

View File

@ -669,6 +669,7 @@ require('lazy').setup({
-- python -> LSP: basedpyright, Formatter & linter -- python -> LSP: basedpyright, Formatter & linter
-- https://github.com/astral-sh/ruff/blob/main/crates/ruff_server/docs/setup/NEOVIM.md -- https://github.com/astral-sh/ruff/blob/main/crates/ruff_server/docs/setup/NEOVIM.md
-- https://docs.astral.sh/ruff/editors/setup/#neovim
ruff = { ruff = {
-- Disable hover in favor of Pyright -- Disable hover in favor of Pyright
on_attach = on_attach_ruff, on_attach = on_attach_ruff,

View File

@ -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
{ '<leader>wr', '<cmd>SessionSearch<CR>', desc = 'Session search' },
-- { '<leader>ws', '<cmd>SessionSave<CR>', desc = 'Save session' },
-- { '<leader>wa', '<cmd>SessionToggleAutoSave<CR>', desc = 'Toggle autosave' },
},
config = function()
require('auto-session').setup {
auto_session_suppress_dirs = { '~/', '~/Projects', '~/Downloads', '/' },
}
end,
},
}

View File

@ -0,0 +1,9 @@
return {
{
'github/copilot.vim',
-- let g:copilot_enabled = v:false
init = function()
-- vim.g.copilot_enabled = false
end,
},
}

View File

@ -1,12 +1,12 @@
return { return {
{ {
'windwp/nvim-ts-autotag', 'windwp/nvim-ts-autotag',
-- ft = { ft = {
-- 'html', 'html',
-- 'javascript', 'javascript',
-- 'typescript', 'typescript',
-- 'svelte', 'svelte',
-- }, },
config = function() config = function()
require('nvim-ts-autotag').setup { require('nvim-ts-autotag').setup {
-- opts = { -- opts = {