Moved to tex lsp
This commit is contained in:
parent
11ea08193d
commit
25a930d330
12
lua/andr3/langs/tex.lua
Normal file
12
lua/andr3/langs/tex.lua
Normal 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
|
@ -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.bash'.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)
|
||||
|
||||
|
@ -55,9 +55,6 @@ return require('packer').startup(function()
|
||||
|
||||
use "nvim-lua/plenary.nvim"
|
||||
|
||||
-- Langunage tool
|
||||
use 'rhysd/vim-grammarous'
|
||||
|
||||
use {
|
||||
'nvim-tree/nvim-tree.lua',
|
||||
requires = {
|
||||
|
@ -224,11 +224,6 @@ _G.packer_plugins = {
|
||||
path = "/Users/AHS40/.local/share/nvim/site/pack/packer/start/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"] = {
|
||||
loaded = true,
|
||||
path = "/Users/AHS40/.local/share/nvim/site/pack/packer/start/vim-javascript",
|
||||
|
Loading…
Reference in New Issue
Block a user