Added relative line numbers and more lsp

This commit is contained in:
Ting Lu 2023-02-25 13:35:11 -06:00
parent 794918895a
commit 046e0b1477
1 changed files with 21 additions and 4 deletions

View File

@ -230,6 +230,10 @@ vim.o.completeopt = 'menuone,noselect'
-- NOTE: You should make sure your terminal supports this -- NOTE: You should make sure your terminal supports this
vim.o.termguicolors = true vim.o.termguicolors = true
-- Set relative and absolute line numbers
vim.o.relativenumber = true
vim.o.number = true
-- [[ Basic Keymaps ]] -- [[ Basic Keymaps ]]
-- Keymaps for better default experience -- Keymaps for better default experience
@ -407,11 +411,24 @@ end
-- Add any additional override configuration in the following tables. They will be passed to -- Add any additional override configuration in the following tables. They will be passed to
-- the `settings` field of the server config. You must look up that documentation yourself. -- the `settings` field of the server config. You must look up that documentation yourself.
local servers = { local servers = {
-- clangd = {}, clangd = {},
gopls = {}, gopls = {},
-- pyright = {}, solargraph = {},
-- rust_analyzer = {}, sqlls = {},
-- tsserver = {}, angularls = {},
bashls = {},
cssls = {},
dockerls = {},
gradle_ls = {},
pyright = {},
tsserver = {},
html = {},
jsonls = {},
jdtls = {},
rust_analyzer = {},
marksman = {},
volar = {},
yamlls = {},
lua_ls = { lua_ls = {
Lua = { Lua = {