From 05569c500f2e74390df3183d037eaba88fa0cf33 Mon Sep 17 00:00:00 2001 From: Delvin Yamoah Date: Sat, 14 Mar 2026 18:09:46 +0000 Subject: [PATCH] update --- init.lua | 22 +++++++++++----------- lazy-lock.json | 5 +++-- lua/custom/plugins/godot.lua | 15 +++++++++++++++ lua/custom/plugins/rosepine.lua | 4 +++- 4 files changed, 32 insertions(+), 14 deletions(-) create mode 100644 lua/custom/plugins/godot.lua diff --git a/init.lua b/init.lua index c4516e6b..db4c3aee 100644 --- a/init.lua +++ b/init.lua @@ -7,6 +7,11 @@ vim.g.mapleader = ' ' vim.g.maplocalleader = ' ' vim.opt.guicursor = '' +-- Setting my diabolic colorscheme +vim.cmd 'colorscheme quiet' +vim.api.nvim_set_hl(0, 'Normal', { bg = 'none' }) +vim.api.nvim_set_hl(0, 'Normalfloat', { bg = 'none' }) + -- Set to true if you have a Nerd Font installed and selected in the terminal vim.g.have_nerd_font = true @@ -30,19 +35,14 @@ vim.o.showmode = false -- soft and elegant Neotree toggle vim.keymap.set('n', 'e', 'Neotree toggle') -vim.keymap.set('v', 'e', 'Neotree toggle') -vim.keymap.set('i', 'e', 'Neotree toggle') +-- vim.keymap.set('v', 'e', 'Neotree toggle') +-- vim.keymap.set('i', 'e', 'Neotree toggle') -- Sync clipboard between OS and Neovim. -- Schedule the setting after `UiEnter` because it can increase startup-time. -- Remove this option if you want your OS clipboard to remain independent. -- See `:help 'clipboard'` --- vim.schedule(function() vim.o.clipboard = 'unnamedplus' end) -vim.keymap.set('n', 'y', '"+y') -vim.keymap.set('v', 'y', '"+y') -vim.keymap.set('n', 'yap', '"+yap') -vim.keymap.set('v', 'yap', '"+yap') -vim.keymap.set('n', 'p', '"+p') +vim.schedule(function() vim.o.clipboard = 'unnamedplus' end) -- Navigating highlighted text after vap or v-j or k vim.keymap.set('v', '', ":m '>+1gv=gv") @@ -100,8 +100,8 @@ vim.o.splitbelow = true -- It is very similar to `vim.o` but offers an interface for conveniently interacting with tables. -- See `:help lua-options` -- and `:help lua-guide-options` -vim.o.list = true -vim.opt.listchars = { tab = '» ', trail = '·', nbsp = '␣' } +-- vim.o.list = true +-- vim.opt.listchars = { tab = '» ', trail = '·', nbsp = '␣' } vim.opt.tabstop = 4 vim.opt.softtabstop = 4 @@ -876,7 +876,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 recommended keymaps -- NOTE: The import below can automatically add your own plugins, configuration, etc from `lua/custom/plugins/*.lua` diff --git a/lazy-lock.json b/lazy-lock.json index ce5c1eb8..5b92e2ba 100644 --- a/lazy-lock.json +++ b/lazy-lock.json @@ -4,6 +4,7 @@ "conform.nvim": { "branch": "master", "commit": "086a40dc7ed8242c03be9f47fbcee68699cc2395" }, "fidget.nvim": { "branch": "main", "commit": "7fa433a83118a70fe24c1ce88d5f0bd3453c0970" }, "gitsigns.nvim": { "branch": "main", "commit": "7c4faa3540d0781a28588cafbd4dd187a28ac6e3" }, + "godotdev.nvim": { "branch": "master", "commit": "79d9315988b7772c03a1cabb6f31f5287c849e2b" }, "guess-indent.nvim": { "branch": "main", "commit": "84a4987ff36798c2fc1169cbaff67960aed9776f" }, "hardtime.nvim": { "branch": "main", "commit": "b4e431934af1fe224a3a801f632c008278cb7628" }, "harpoon": { "branch": "master", "commit": "1bc17e3e42ea3c46b33c0bbad6a880792692a1b3" }, @@ -16,8 +17,8 @@ "nui.nvim": { "branch": "main", "commit": "de740991c12411b663994b2860f1a4fd0937c130" }, "nvim-autopairs": { "branch": "master", "commit": "59bce2eef357189c3305e25bc6dd2d138c1683f5" }, "nvim-lint": { "branch": "master", "commit": "606b823a57b027502a9ae00978ebf4f5d5158098" }, - "nvim-lspconfig": { "branch": "master", "commit": "883c6495b53fccbd35d0938aac8bdf72f6d499c0" }, - "nvim-treesitter": { "branch": "main", "commit": "493890b87a81dfe6a7e577dbc364ae33fa482da9" }, + "nvim-lspconfig": { "branch": "master", "commit": "4d0724be90b633ddce51b328a631060e6acd7d66" }, + "nvim-treesitter": { "branch": "main", "commit": "eb1f8e80cb28eb7892f347609e0bdc5eb574b945" }, "nvim-web-devicons": { "branch": "master", "commit": "d7462543c9e366c0d196c7f67a945eaaf5d99414" }, "plenary.nvim": { "branch": "master", "commit": "b9fd5226c2f76c951fc8ed5923d85e4de065e509" }, "rose-pine": { "branch": "main", "commit": "cf2a288696b03d0934da713d66c6d71557b5c997" }, diff --git a/lua/custom/plugins/godot.lua b/lua/custom/plugins/godot.lua new file mode 100644 index 00000000..8d756856 --- /dev/null +++ b/lua/custom/plugins/godot.lua @@ -0,0 +1,15 @@ +return { + -- This tells Lazy to use nvim-lspconfig as the base + 'neovim/nvim-lspconfig', + config = function() + -- Use the new 0.11+ syntax to avoid the deprecation warning + vim.lsp.config('gdscript', { + cmd = vim.lsp.rpc.connect('127.0.0.1', 6005), + filetypes = { 'gdscript', 'gdscript3' }, + root_markers = { 'project.godot', '.git' }, + }) + + -- Actually turn on the engine + vim.lsp.enable 'gdscript' + end, +} diff --git a/lua/custom/plugins/rosepine.lua b/lua/custom/plugins/rosepine.lua index 24e7344d..b60ab90e 100644 --- a/lua/custom/plugins/rosepine.lua +++ b/lua/custom/plugins/rosepine.lua @@ -6,8 +6,10 @@ return { require('rose-pine').setup { styles = { transparency = true, + italic = false, + bold = false, }, } - vim.cmd 'colorscheme rose-pine-moon' + -- vim.cmd 'colorscheme rose-pine-moon' end, }