From acfe6cf8279dff0980176ea1f52f0fb73fe43dde Mon Sep 17 00:00:00 2001 From: ej3517 Date: Mon, 21 Jul 2025 18:20:18 +0100 Subject: [PATCH] Visual + File manager --- init.lua | 24 +++++++++++++++++++----- 1 file changed, 19 insertions(+), 5 deletions(-) diff --git a/init.lua b/init.lua index b98ffc61..b3532545 100644 --- a/init.lua +++ b/init.lua @@ -91,13 +91,14 @@ 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.o` -- NOTE: You can change these options as you wish! -- For more options, you can see `:help option-list` +vim.opt.colorcolumn = "101,121" -- Make line numbers default vim.o.number = true -- You can also add relative line numbers, to help with jumping. @@ -674,6 +675,7 @@ require('lazy').setup({ -- clangd = {}, -- gopls = {}, -- pyright = {}, + basedpyright = {}, -- rust_analyzer = {}, -- ... etc. See `:help lspconfig-all` for a list of all the pre-configured LSPs -- @@ -881,20 +883,22 @@ require('lazy').setup({ -- change the command in the config to whatever the name of that colorscheme is. -- -- If you want to see what colorschemes are already installed, you can use `:Telescope colorscheme`. - 'folke/tokyonight.nvim', + 'Mofiqul/dracula.nvim', priority = 1000, -- Make sure to load this before all the other start plugins. config = function() ---@diagnostic disable-next-line: missing-fields - require('tokyonight').setup { + require('dracula').setup { styles = { - comments = { italic = false }, -- Disable italics in comments + transparent_bg = true, + italic_comment = false, + lualine_bg_color = '#44475a', }, } -- Load the colorscheme here. -- Like many other themes, this one has different styles, and you could load -- any other, such as 'tokyonight-storm', 'tokyonight-moon', or 'tokyonight-day'. - vim.cmd.colorscheme 'tokyonight-night' + vim.cmd.colorscheme 'dracula' end, }, @@ -963,6 +967,16 @@ require('lazy').setup({ -- - Show your current context: https://github.com/nvim-treesitter/nvim-treesitter-context -- - Treesitter + textobjects: https://github.com/nvim-treesitter/nvim-treesitter-textobjects }, + { + 'nvim-tree/nvim-tree.lua', + dependencies = { + 'nvim-tree/nvim-web/devicons', + }, + config = function() + require('nvim-tree').setup {} + vim.keymap.set('n', 'e', ':NvimTreeToggle', { silent = true }) + end, +}, -- The following comments only work if you have downloaded the kickstart repo, not just copy pasted the -- init.lua. If you want these files, they are in the repository, so you can just download them and