enable extras

This commit is contained in:
2025-05-12 07:40:19 +02:00
parent c96568998b
commit 7340cc12ea
2 changed files with 17 additions and 7 deletions

View File

@@ -659,11 +659,13 @@ require('lazy').setup({
vim.list_extend(ensure_installed, { vim.list_extend(ensure_installed, {
'stylua', -- Used to format Lua code 'stylua', -- Used to format Lua code
'vue-language-server', 'vue-language-server',
'eslint_d', 'eslint_d', -- Used in lint.lua
'markdownlint', -- Used in lint.lua,
}) })
require('mason-tool-installer').setup { ensure_installed = ensure_installed } require('mason-tool-installer').setup { ensure_installed = ensure_installed }
require('mason-lspconfig').setup { require('mason-lspconfig').setup {
automatic_enable = {}, -- NOTE: I changed this recenttly since lsp said it was misssing. Remove it if things stops working.
ensure_installed = {}, -- explicitly set to an empty table (Kickstart populates installs via mason-tool-installer) ensure_installed = {}, -- explicitly set to an empty table (Kickstart populates installs via mason-tool-installer)
automatic_installation = false, automatic_installation = false,
handlers = { handlers = {
@@ -949,12 +951,12 @@ require('lazy').setup({
-- Here are some example plugins that I've included in the Kickstart repository. -- Here are some example plugins that I've included in the Kickstart repository.
-- Uncomment any of the lines below to enable them (you will need to restart nvim). -- Uncomment any of the lines below to enable them (you will need to restart nvim).
-- --
-- require 'kickstart.plugins.debug', require 'kickstart.plugins.debug',
-- require 'kickstart.plugins.indent_line', require 'kickstart.plugins.indent_line',
require 'kickstart.plugins.lint', require 'kickstart.plugins.lint',
-- require 'kickstart.plugins.autopairs', require 'kickstart.plugins.autopairs',
-- require 'kickstart.plugins.neo-tree', require 'kickstart.plugins.neo-tree',
-- require 'kickstart.plugins.gitsigns', -- adds gitsigns recommend keymaps require 'kickstart.plugins.gitsigns', -- adds gitsigns recommend keymaps
-- NOTE: The import below can automatically add your own plugins, configuration, etc from `lua/custom/plugins/*.lua` -- NOTE: The import below can automatically add your own plugins, configuration, etc from `lua/custom/plugins/*.lua`
-- This is the easiest way to modularize your config. -- This is the easiest way to modularize your config.

View File

@@ -11,9 +11,17 @@ return {
}, },
cmd = 'Neotree', cmd = 'Neotree',
keys = { keys = {
{ '\\', ':Neotree reveal<CR>', desc = 'NeoTree reveal', silent = true }, { '\\', ':Neotree toggle<CR>', desc = 'NeoTree reveal', silent = true },
}, },
opts = { opts = {
event_handlers = {
{
event = 'file_open_requested',
handler = function()
vim.cmd 'Neotree close'
end,
},
},
filesystem = { filesystem = {
window = { window = {
mappings = { mappings = {