Make Neotree show hidden files

This commit is contained in:
Philipp 2024-06-26 10:58:05 +02:00
parent 4dd8d14dff
commit 0d971b9ff1
Signed by: Philipp
GPG key ID: 9EBD8439AFBAB750
3 changed files with 21 additions and 8 deletions

View file

@ -7,6 +7,9 @@ return {
},
{
"williamboman/mason-lspconfig.nvim",
opts = {
auto_install = true
},
config = function()
require('mason-lspconfig').setup({
ensure_installed = { "lua_ls", "bashls", "gopls", "jsonls", "biome", "zk", "pyre", "rust_analyzer", "sqls", "taplo", "yamlls" }
@ -30,8 +33,6 @@ return {
lspconfig.sqls.setup({ capabilities = capabilities })
lspconfig.taplo.setup({ capabilities = capabilities })
lspconfig.yamlls.setup({ capabilities = capabilities })
vim.keymap.set("n", "<leader>ca", vim.lsp.buf.code_action, {})
vim.keymap.set("n", "K", vim.lsp.buf.hover, {})
end
}
}

View file

@ -6,9 +6,21 @@ return {
'nvim-tree/nvim-web-devicons',
'MunifTanjim/nui.nvim',
},
config = function()
vim.keymap.set("n", "<C-n>", ":Neotree filesystem reveal left<CR>") -- ctrl + n = show filesystem on left side
end
opts = {
filesystem = {
filtered_items = {
visible = true,
show_hidden_count = true,
hide_dotfiles = false,
hide_gitignored = true,
hide_by_name = {
'.DS_Store',
'thumbs.db'
},
never_show = { '.git' }
}
}
}
}

View file

@ -1,4 +1,4 @@
# created by KDE Plasma, Tue Jun 18 23:34:43 2024
# created by KDE Plasma, Wed Jun 26 10:00:02 2024
#
gtk-alternative-button-order = 1