Nvim: more fixes

This commit is contained in:
Tobias Manske 2023-08-18 19:25:40 +02:00
parent 088675b46f
commit 7082fc1e4f
Signed by: tobias
GPG Key ID: 9164B527694A0709

View File

@ -277,6 +277,8 @@ vim.o.completeopt = 'menuone,noselect'
vim.g.mapleader = ' ' vim.g.mapleader = ' '
vim.g.maplocalleader = ' ' vim.g.maplocalleader = ' '
vim.g.tex_flavor = 'latex'
-- Keymaps for better default experience -- Keymaps for better default experience
-- See `:help vim.keymap.set()` -- See `:help vim.keymap.set()`
vim.keymap.set({ 'n', 'v' }, '<Space>', '<Nop>', { silent = true }) vim.keymap.set({ 'n', 'v' }, '<Space>', '<Nop>', { silent = true })
@ -632,6 +634,7 @@ local servers = {
texlab = {}, -- latex texlab = {}, -- latex
terraformls = {}, terraformls = {},
tflint = {}, tflint = {},
java_language_server = {},
ltex = { ltex = {
ltex = { ltex = {
language = 'en-US', language = 'en-US',
@ -714,9 +717,6 @@ null_ls.setup {
root_dir = function(_) return nil end, root_dir = function(_) return nil end,
} }
mason_null_ls.setup_handlers()
-- Turn on lsp status information -- Turn on lsp status information
require('fidget').setup() require('fidget').setup()