Update neovim config from main

This commit is contained in:
Marko Korhonen 2024-09-19 10:32:52 +03:00
parent daf6869bdf
commit 22d46ce2f7
Signed by: FunctionalHacker
GPG key ID: A7F78BCB859CD890
4 changed files with 50 additions and 33 deletions

View file

@ -2,7 +2,7 @@ local g = vim.g
local o = vim.o
-- Change scale factor with C+ and C-
g.neovide_scale_factor = 1.0
g.neovide_scale_factor = {{@@ scale_factor|default(1.0) @@}}
local change_scale_factor = function(delta)
g.neovide_scale_factor = g.neovide_scale_factor * delta
end

View file

@ -40,8 +40,8 @@ return {
-- Disable tsserver diagnostics diagnostics
-- that come from ESLint
["tsserver"] = function()
require("lspconfig").tsserver.setup(vim.tbl_extend("force", commonLspConfigArgs, {
["ts_ls"] = function()
require("lspconfig").ts_ls.setup(vim.tbl_extend("force", commonLspConfigArgs, {
settings = {
diagnostics = {
ignoredCodes = {