Moved to tex lsp

This commit is contained in:
Andre Herniques 2023-06-05 13:59:07 +01:00
parent 11ea08193d
commit 25a930d330
4 changed files with 13 additions and 8 deletions

12
lua/andr3/langs/tex.lua Normal file
View File

@ -0,0 +1,12 @@
local O = {};
local lspConfig = require('lspconfig')
function O.setup(on_attach, lsp_flags, capabilities)
lspConfig['ltex'].setup{
on_attach = on_attach,
flags = lsp_flags,
capabilities = capabilities,
}
end
return O

View File

@ -324,4 +324,5 @@ require 'andr3.langs.ccls'.setup(on_attach, lsp_flags, capabilities)
require 'andr3.langs.python'.setup(on_attach, lsp_flags, capabilities) require 'andr3.langs.python'.setup(on_attach, lsp_flags, capabilities)
require 'andr3.langs.bash'.setup(on_attach, lsp_flags, capabilities) require 'andr3.langs.bash'.setup(on_attach, lsp_flags, capabilities)
require 'andr3.langs.zig'.setup(on_attach, lsp_flags, capabilities) require 'andr3.langs.zig'.setup(on_attach, lsp_flags, capabilities)
require 'andr3.langs.tex'.setup(on_attach, lsp_flags, capabilities)

View File

@ -55,9 +55,6 @@ return require('packer').startup(function()
use "nvim-lua/plenary.nvim" use "nvim-lua/plenary.nvim"
-- Langunage tool
use 'rhysd/vim-grammarous'
use { use {
'nvim-tree/nvim-tree.lua', 'nvim-tree/nvim-tree.lua',
requires = { requires = {

View File

@ -224,11 +224,6 @@ _G.packer_plugins = {
path = "/Users/AHS40/.local/share/nvim/site/pack/packer/start/vim-gitgutter", path = "/Users/AHS40/.local/share/nvim/site/pack/packer/start/vim-gitgutter",
url = "https://github.com/airblade/vim-gitgutter" url = "https://github.com/airblade/vim-gitgutter"
}, },
["vim-grammarous"] = {
loaded = true,
path = "/Users/AHS40/.local/share/nvim/site/pack/packer/start/vim-grammarous",
url = "https://github.com/rhysd/vim-grammarous"
},
["vim-javascript"] = { ["vim-javascript"] = {
loaded = true, loaded = true,
path = "/Users/AHS40/.local/share/nvim/site/pack/packer/start/vim-javascript", path = "/Users/AHS40/.local/share/nvim/site/pack/packer/start/vim-javascript",