From 2a5a948af76376a2e34b46adf93a61e33ef8807d Mon Sep 17 00:00:00 2001 From: t0xa Date: Thu, 2 Oct 2025 10:03:43 +0300 Subject: [PATCH] Minor fixes --- lua/custom/colorschemes.lua | 4 ++-- lua/custom/lsp.lua | 2 +- lua/custom/lualine.lua | 2 +- lua/custom/neogen.lua | 9 ++++++++- 4 files changed, 12 insertions(+), 5 deletions(-) diff --git a/lua/custom/colorschemes.lua b/lua/custom/colorschemes.lua index 5a92f02..12ce783 100644 --- a/lua/custom/colorschemes.lua +++ b/lua/custom/colorschemes.lua @@ -4,6 +4,6 @@ vim.opt.termguicolors = true vim.opt.background = "dark" -- colorschemes that can be light or dark will be made dark vim.opt.signcolumn = "yes" -- show sigh columns so that text doesn't shift -vim.g.gruvbox_material_background = 'hard' +-- vim.g.gruvbox_material_background = 'hard' vim.g.gruvbox_material_enable_italic = true -vim.cmd.colorscheme("gruvbox-material") +vim.cmd.colorscheme("catppuccin-mocha") diff --git a/lua/custom/lsp.lua b/lua/custom/lsp.lua index 9498ec0..3ab8d79 100644 --- a/lua/custom/lsp.lua +++ b/lua/custom/lsp.lua @@ -63,7 +63,7 @@ local servers = { }, }, clangd = { - filetypes = { "c" }, + filetypes = { "c", "cpp" }, cmd = { "clangd", "--offset-encoding=utf-16", diff --git a/lua/custom/lualine.lua b/lua/custom/lualine.lua index c968ac7..a160aaa 100644 --- a/lua/custom/lualine.lua +++ b/lua/custom/lualine.lua @@ -1,6 +1,6 @@ require("lualine").setup({ options = { - theme = "gruvbox-material", + theme = "catpuccin-mocha", }, sections = { lualine_c = { diff --git a/lua/custom/neogen.lua b/lua/custom/neogen.lua index c071acf..a1538a1 100644 --- a/lua/custom/neogen.lua +++ b/lua/custom/neogen.lua @@ -1,5 +1,12 @@ require("neogen").setup { - enabled = true + enabled = true, + languages = { + python = { + template = { + annotation_convention = "reST" + } + } + }, } local keymap = vim.keymap