From de18b67f0e5a8eda148a5e9dde43fcc3c5fa3d65 Mon Sep 17 00:00:00 2001 From: pintleg <152365015+pintleg@users.noreply.github.com> Date: Thu, 30 Nov 2023 00:47:20 -0600 Subject: [PATCH] Update init.lua added relative numbers , set up lualine , and enable different lenguages --- init.lua | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/init.lua b/init.lua index e7f1eec4..e5791e98 100644 --- a/init.lua +++ b/init.lua @@ -167,8 +167,8 @@ require('lazy').setup({ -- See `:help lualine.txt` opts = { options = { - icons_enabled = false, - theme = 'onedark', + icons_enabled = true, + theme = 'modus vivendi', component_separators = '|', section_separators = '', }, @@ -236,6 +236,9 @@ require('lazy').setup({ -- See `:help vim.o` -- NOTE: You can change these options as you wish! +-- enable relative number +vim.wo.relativenumber = true + -- Set highlight on search vim.o.hlsearch = false @@ -511,9 +514,10 @@ require('mason-lspconfig').setup() -- If you want to override the default filetypes that your language server will attach to you can -- define the property 'filetypes' to the map in question. local servers = { - -- clangd = {}, + clangd = {}, -- gopls = {}, - -- pyright = {}, + pyright = {}, + texlab = {}, -- rust_analyzer = {}, -- tsserver = {}, -- html = { filetypes = { 'html', 'twig', 'hbs'} },