From d3fe743a73f76fa7b882bbada5a1426b393e0653 Mon Sep 17 00:00:00 2001 From: jhe Date: Mon, 3 Jun 2024 16:00:27 +0200 Subject: [PATCH] Up --- ftplugin/javascript.lua | 6 +++--- ftplugin/typescript.lua | 6 +++--- init.lua | 7 +++---- 3 files changed, 9 insertions(+), 10 deletions(-) diff --git a/ftplugin/javascript.lua b/ftplugin/javascript.lua index ed7f6bb9..8eaf4ae4 100644 --- a/ftplugin/javascript.lua +++ b/ftplugin/javascript.lua @@ -1,3 +1,3 @@ -vim.opt.tabstop = 2 -vim.opt.softtabstop = 2 -vim.opt.shiftwidth = 2 +vim.opt.tabstop = 4 +vim.opt.softtabstop = 4 +vim.opt.shiftwidth = 4 diff --git a/ftplugin/typescript.lua b/ftplugin/typescript.lua index ed7f6bb9..8eaf4ae4 100644 --- a/ftplugin/typescript.lua +++ b/ftplugin/typescript.lua @@ -1,3 +1,3 @@ -vim.opt.tabstop = 2 -vim.opt.softtabstop = 2 -vim.opt.shiftwidth = 2 +vim.opt.tabstop = 4 +vim.opt.softtabstop = 4 +vim.opt.shiftwidth = 4 diff --git a/init.lua b/init.lua index 2ed8d188..f8c98c57 100644 --- a/init.lua +++ b/init.lua @@ -531,9 +531,9 @@ require('lazy').setup({ -- - 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/ local servers = { - -- clangd = {}, + clangd = {}, -- gopls = {}, - -- pyright = {}, + pyright = {}, -- rust_analyzer = {}, -- ... etc. See `:help lspconfig-all` for a list of all the pre-configured LSPs -- @@ -541,8 +541,7 @@ require('lazy').setup({ -- https://github.com/pmizio/typescript-tools.nvim -- -- But for many setups, the LSP (`tsserver`) will work just fine - -- tsserver = {}, - -- + tsserver = {}, lua_ls = { -- cmd = {...},