From d3f231869951d6c1cd7e7c649df6ba353c416267 Mon Sep 17 00:00:00 2001 From: Shivan Taher Date: Sat, 19 Apr 2025 18:32:44 +0200 Subject: [PATCH] Basic updates --- init.lua | 8 ++++---- lua/kickstart/plugins/neo-tree.lua | 2 ++ 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/init.lua b/init.lua index 776c6873..400926b4 100644 --- a/init.lua +++ b/init.lua @@ -91,7 +91,7 @@ vim.g.mapleader = ' ' vim.g.maplocalleader = ' ' -- Set to true if you have a Nerd Font installed and selected in the terminal -vim.g.have_nerd_font = false +vim.g.have_nerd_font = true -- [[ Setting options ]] -- See `:help vim.opt` @@ -664,8 +664,8 @@ require('lazy').setup({ -- For example, to see the options for `lua_ls`, you could go to: https://luals.github.io/wiki/settings/ local servers = { -- clangd = {}, - -- gopls = {}, - -- pyright = {}, + gopls = {}, + pyright = {}, -- rust_analyzer = {}, -- ... etc. See `:help lspconfig-all` for a list of all the pre-configured LSPs -- @@ -969,7 +969,7 @@ require('lazy').setup({ -- require 'kickstart.plugins.indent_line', -- require 'kickstart.plugins.lint', -- require 'kickstart.plugins.autopairs', - -- require 'kickstart.plugins.neo-tree', + require 'kickstart.plugins.neo-tree', -- 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` diff --git a/lua/kickstart/plugins/neo-tree.lua b/lua/kickstart/plugins/neo-tree.lua index bd442269..6ae08e78 100644 --- a/lua/kickstart/plugins/neo-tree.lua +++ b/lua/kickstart/plugins/neo-tree.lua @@ -13,8 +13,10 @@ return { keys = { { '\\', ':Neotree reveal', desc = 'NeoTree reveal', silent = true }, }, + lazy = false, -- neo-tree will lazily load itself opts = { filesystem = { + hijack_netrw_behavior = 'open_default', window = { mappings = { ['\\'] = 'close_window',