From 7082fc1e4f399ca81a3faa7f0fea4d6e7c134576 Mon Sep 17 00:00:00 2001 From: Tobias Manske Date: Fri, 18 Aug 2023 19:25:40 +0200 Subject: [PATCH] Nvim: more fixes --- nvim/init.lua | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/nvim/init.lua b/nvim/init.lua index ea4d917..005b763 100644 --- a/nvim/init.lua +++ b/nvim/init.lua @@ -277,6 +277,8 @@ vim.o.completeopt = 'menuone,noselect' vim.g.mapleader = ' ' vim.g.maplocalleader = ' ' +vim.g.tex_flavor = 'latex' + -- Keymaps for better default experience -- See `:help vim.keymap.set()` vim.keymap.set({ 'n', 'v' }, '', '', { silent = true }) @@ -632,6 +634,7 @@ local servers = { texlab = {}, -- latex terraformls = {}, tflint = {}, + java_language_server = {}, ltex = { ltex = { language = 'en-US', @@ -714,9 +717,6 @@ null_ls.setup { root_dir = function(_) return nil end, } -mason_null_ls.setup_handlers() - - -- Turn on lsp status information require('fidget').setup()