Update init.lua

added relative numbers , set up lualine , and enable different lenguages
This commit is contained in:
pintleg 2023-11-30 00:47:20 -06:00 committed by GitHub
parent 3e9e3ca88b
commit de18b67f0e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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'} },