diff --git a/home/base/desktop/neovim/default.nix b/home/base/desktop/neovim/default.nix index ae77688c..04ec9354 100644 --- a/home/base/desktop/neovim/default.nix +++ b/home/base/desktop/neovim/default.nix @@ -65,6 +65,7 @@ gopls pyright rust-analyzer + cargo # rust package manager #-- tree-sitter --# tree-sitter diff --git a/home/base/desktop/neovim/lua/modules/completion/config.lua b/home/base/desktop/neovim/lua/modules/completion/config.lua index 101bd75b..43d96390 100644 --- a/home/base/desktop/neovim/lua/modules/completion/config.lua +++ b/home/base/desktop/neovim/lua/modules/completion/config.lua @@ -96,16 +96,6 @@ function config.nvim_lsp() nvim_lsp.pyright.setup({ on_attach = on_attach(), capabilities = capabilities, - settings = { - python = { - analysis = { - autoSearchPaths = true, - diagnosticMode = "workspace", - useLibraryCodeForTypes = true, - typeCheckingMode = "off", - }, - }, - }, }) --sumneko_lua diff --git a/home/base/desktop/neovim/lua/modules/ui/config.lua b/home/base/desktop/neovim/lua/modules/ui/config.lua index 05fcb975..69647e51 100644 --- a/home/base/desktop/neovim/lua/modules/ui/config.lua +++ b/home/base/desktop/neovim/lua/modules/ui/config.lua @@ -15,22 +15,16 @@ function config.dashboard() shortcut = { { desc = ' Update', group = '@property', action = 'Lazy update', key = 'u' }, { - desc = ' Files', + desc = ' Find Files', group = 'Label', action = 'Telescope find_files', key = 'f', }, { - desc = ' Apps', + desc = '󱘎 File Tree', group = 'DiagnosticHint', - action = 'Telescope app', - key = 'a', - }, - { - desc = ' dotfiles', - group = 'Number', - action = 'Telescope dotfiles', - key = 'd', + action = 'Neotree', + key = 't', }, }, }, diff --git a/home/base/desktop/neovim/lua/modules/ui/package.lua b/home/base/desktop/neovim/lua/modules/ui/package.lua index 40624c0b..c032a4a9 100644 --- a/home/base/desktop/neovim/lua/modules/ui/package.lua +++ b/home/base/desktop/neovim/lua/modules/ui/package.lua @@ -18,7 +18,7 @@ package({ }) --- +-- file tree sidebar package({ 'nvim-neo-tree/neo-tree.nvim', dependencies = { @@ -67,6 +67,14 @@ package({ { source = "git_status", display_name = " 󰊢 Git " }, }, }, + + filesystem = { + filtered_items = { + visible = true, -- when true, they will just be displayed differently than normal items + hide_dotfiles = false, + hide_gitignored = false, + }, + }, -- Other options ... }) end