Change NerdFonts option to true.

Add LSPs: clangd, texlab, and pyright with options.
This commit is contained in:
Sergey Sychugin 2024-07-19 19:52:46 +03:00
parent 2df5137e59
commit 7f4114cb84
1 changed files with 14 additions and 3 deletions

View File

@ -91,7 +91,7 @@ vim.g.mapleader = ' '
vim.g.maplocalleader = ' ' vim.g.maplocalleader = ' '
-- Set to true if you have a Nerd Font installed and selected in the terminal -- Set to true if you have a Nerd Font installed and selected in the terminal
vim.g.have_nerd_font = false vim.g.have_nerd_font = true
-- [[ Setting options ]] -- [[ Setting options ]]
-- See `:help vim.opt` -- See `:help vim.opt`
@ -564,9 +564,20 @@ require('lazy').setup({
-- - settings (table): Override the default settings passed when initializing the server. -- - settings (table): Override the default settings passed when initializing the server.
-- For example, to see the options for `lua_ls`, you could go to: https://luals.github.io/wiki/settings/ -- For example, to see the options for `lua_ls`, you could go to: https://luals.github.io/wiki/settings/
local servers = { local servers = {
-- clangd = {}, clangd = {},
texlab = {},
pyright = {
settings = {
python = {
pythonPath = '/opt/homebrew/Caskroom/miniconda/base/bin/python',
analysis = {
autoSearchPaths = true,
useLibraryCodeForTypes = true,
},
},
},
},
-- gopls = {}, -- gopls = {},
-- pyright = {},
-- rust_analyzer = {}, -- rust_analyzer = {},
-- ... etc. See `:help lspconfig-all` for a list of all the pre-configured LSPs -- ... etc. See `:help lspconfig-all` for a list of all the pre-configured LSPs
-- --