Make Neotree show hidden files
This commit is contained in:
parent
4dd8d14dff
commit
0d971b9ff1
3 changed files with 21 additions and 8 deletions
|
@ -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
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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' }
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue