From 37a7685817ed15a143dbf70ff4663ecc4fe7b880 Mon Sep 17 00:00:00 2001 From: Austin Daily <135095754+austindaily@users.noreply.github.com> Date: Thu, 29 Feb 2024 05:40:09 -0500 Subject: [PATCH 1/3] Update init.lua added intelephense and phpactor. also uncommented pyright and gopls. --- init.lua | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/init.lua b/init.lua index 1e5691a7..ceb23924 100644 --- a/init.lua +++ b/init.lua @@ -533,9 +533,11 @@ 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 = {}, + phpactor = {}, + intelephense = {}, -- ... etc. See `:help lspconfig-all` for a list of all the pre-configured LSPs -- -- Some languages (like typescript) have entire language plugins that can be useful: From b2956140431c73b942842b44c75809ae0e2ee348 Mon Sep 17 00:00:00 2001 From: Austin Daily <135095754+austindaily@users.noreply.github.com> Date: Mon, 11 Mar 2024 18:55:01 -0400 Subject: [PATCH 2/3] Update init.lua --- init.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/init.lua b/init.lua index ceb23924..62b91fa5 100644 --- a/init.lua +++ b/init.lua @@ -365,7 +365,7 @@ require('lazy').setup({ local builtin = require 'telescope.builtin' vim.keymap.set('n', 'sh', builtin.help_tags, { desc = '[S]earch [H]elp' }) vim.keymap.set('n', 'sk', builtin.keymaps, { desc = '[S]earch [K]eymaps' }) - vim.keymap.set('n', 'sf', builtin.find_files, { desc = '[S]earch [F]iles' }) + vim.keymap.set('n', 'ff', builtin.find_files, { desc = '[S]earch [F]iles' }) vim.keymap.set('n', 'ss', builtin.builtin, { desc = '[S]earch [S]elect Telescope' }) vim.keymap.set('n', 'sw', builtin.grep_string, { desc = '[S]earch current [W]ord' }) vim.keymap.set('n', 'sg', builtin.live_grep, { desc = '[S]earch by [G]rep' }) @@ -537,7 +537,7 @@ require('lazy').setup({ pyright = {}, -- rust_analyzer = {}, phpactor = {}, - intelephense = {}, + -- intelephense = {}, -- ... etc. See `:help lspconfig-all` for a list of all the pre-configured LSPs -- -- Some languages (like typescript) have entire language plugins that can be useful: From 6ecc6f96c43a98f2ed0a64d16d71b5cae8828a54 Mon Sep 17 00:00:00 2001 From: Austin Daily <135095754+austindaily@users.noreply.github.com> Date: Mon, 11 Mar 2024 20:00:10 -0400 Subject: [PATCH 3/3] Update init.lua --- init.lua | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/init.lua b/init.lua index 62b91fa5..34bc1447 100644 --- a/init.lua +++ b/init.lua @@ -97,6 +97,7 @@ vim.g.maplocalleader = ' ' -- Make line numbers default vim.opt.number = true +vim.opt.relativenumber = true -- You can also add relative line numbers, for help with jumping. -- Experiment for yourself to see if you like it! -- vim.opt.relativenumber = true @@ -725,12 +726,12 @@ 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', + 'catppuccin/nvim', lazy = false, -- make sure we load this during startup if it is your main colorscheme priority = 1000, -- make sure to load this before all the other start plugins config = function() -- Load the colorscheme here - vim.cmd.colorscheme 'tokyonight-night' + vim.cmd.colorscheme 'catppuccin' -- You can configure highlights by doing something like vim.cmd.hi 'Comment gui=none' @@ -809,8 +810,11 @@ require('lazy').setup({ -- -- Uncomment the following line and add your plugins to `lua/custom/plugins/*.lua` to get going. -- For additional information see: :help lazy.nvim-lazy.nvim-structuring-your-plugins - -- { import = 'custom.plugins' }, + { import = 'custom.plugins' }, }, {}) -- The line beneath this is called `modeline`. See `:help modeline` -- vim: ts=2 sts=2 sw=2 et + +-- Override default Grey Color Line Number with White +vim.cmd 'highlight LineNr guifg=#ffffff'