Update init.lua
added relative numbers , set up lualine , and enable different lenguages
This commit is contained in:
parent
3e9e3ca88b
commit
de18b67f0e
12
init.lua
12
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'} },
|
||||
|
Loading…
x
Reference in New Issue
Block a user