diff --git a/init.lua b/init.lua index 61b0ca6f..cfd54594 100644 --- a/init.lua +++ b/init.lua @@ -155,6 +155,8 @@ vim.opt.scrolloff = 10 vim.opt.hlsearch = true vim.keymap.set('n', '', 'nohlsearch') +vim.g.python3_host_prog = '~/.pyenv/versions/3.12.0/bin/python3' + -- Diagnostic keymaps vim.keymap.set('n', '[d', vim.diagnostic.goto_prev, { desc = 'Go to previous [D]iagnostic message' }) vim.keymap.set('n', ']d', vim.diagnostic.goto_next, { desc = 'Go to next [D]iagnostic message' }) @@ -535,9 +537,10 @@ require('lazy').setup { -- - settings (table): Override the default settings passed when initializing the server. -- For example, to see the options for `lua_ls`, you could go to: https://luals.github.io/wiki/settings/ local servers = { - -- clangd = {}, + clangd = {}, -- gopls = {}, - -- pyright = {}, + pyright = {}, + --mypy = {}, -- rust_analyzer = {}, -- ... etc. See `:help lspconfig-all` for a list of all the pre-configured LSPs -- @@ -736,21 +739,30 @@ require('lazy').setup { end, }, + { + 'rktjmp/lush.nvim', + }, + { -- You can easily change to a different colorscheme. -- Change the name of the colorscheme plugin below, and then -- 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', + -- 'folke/tokyonight.nvim', -- 'cocopon/iceberg.vim', + 'mcchrish/zenbones.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 'tokyonight-night' -- vim.cmd.colorscheme 'iceberg' + vim.cmd.colorscheme 'neobones' + vim.opt.termguicolors = true + vim.opt.background = 'dark' + -- You can configure highlights by doing something like vim.cmd.hi 'Comment gui=none' end, diff --git a/lua/custom/plugins/init.lua b/lua/custom/plugins/init.lua index 53d80940..d130ac52 100644 --- a/lua/custom/plugins/init.lua +++ b/lua/custom/plugins/init.lua @@ -15,4 +15,7 @@ return { persist_mode = true, }, }, + { + 'nvim-treesitter/nvim-treesitter-context' + }, }