update
This commit is contained in:
parent
24b705b6ab
commit
0862adc22e
1
init.lua
1
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,
|
||||
|
|
|
@ -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,
|
||||
},
|
||||
}
|
|
@ -0,0 +1,9 @@
|
|||
return {
|
||||
{
|
||||
'github/copilot.vim',
|
||||
-- let g:copilot_enabled = v:false
|
||||
init = function()
|
||||
-- vim.g.copilot_enabled = false
|
||||
end,
|
||||
},
|
||||
}
|
|
@ -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 = {
|
||||
|
|
Loading…
Reference in New Issue