minor updates
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
return {
|
||||
{
|
||||
'nvim-treesitter/nvim-treesitter',
|
||||
-- build = ':TSUpdate',
|
||||
build = ':TSUpdate',
|
||||
event = { "VeryLazy" },
|
||||
lazy = vim.fn.argc(-1) == 0,
|
||||
opts = {
|
||||
@@ -21,6 +21,7 @@ return {
|
||||
"lua",
|
||||
"php",
|
||||
"python",
|
||||
"sql",
|
||||
"typescript",
|
||||
"tsx",
|
||||
"vim",
|
||||
@@ -56,8 +57,13 @@ return {
|
||||
{ 'ap/vim-css-color', lazy = false },
|
||||
-- close tags in html languages
|
||||
{
|
||||
'alvan/closetag.vim',
|
||||
ft = { "html", "vue", "typescriptreact" },
|
||||
'alvan/vim-closetag',
|
||||
ft = { "html", "vue", "javascriptreact", "typescriptreact", "xml" },
|
||||
config = function()
|
||||
vim.g.closetag_xhtml_filenames = '*.xhtml,*.js,*.tsx'
|
||||
vim.g.clostag_xhtml_filetypes = 'xhtm,jsx,tsx'
|
||||
vim.cmd [[ CloseTagEnableBuffer ]]
|
||||
end,
|
||||
},
|
||||
|
||||
{
|
||||
@@ -134,17 +140,17 @@ return {
|
||||
vim.diagnostic.config({ virtual_text = false })
|
||||
end
|
||||
},
|
||||
{
|
||||
--[[{
|
||||
'huggingface/llm.nvim',
|
||||
opts = {
|
||||
model = 'qwen2.5-coder:7b',
|
||||
model = 'qwen2.5-coder:latest',
|
||||
backend = 'ollama',
|
||||
url = 'http://localhost:11434',
|
||||
lsp = {
|
||||
bin_path = vim.api.nvim_call_function("stdpath", { "data" }) .. "/mason/bin/llm-ls",
|
||||
}
|
||||
},
|
||||
},
|
||||
}, ]]--
|
||||
{
|
||||
'mason-org/mason-lspconfig.nvim',
|
||||
dependencies = {
|
||||
@@ -165,6 +171,7 @@ return {
|
||||
"lua_ls",
|
||||
"phpactor",
|
||||
"pyright",
|
||||
"sqls",
|
||||
"texlab",
|
||||
"ts_ls"
|
||||
},
|
||||
@@ -183,10 +190,21 @@ return {
|
||||
"lua",
|
||||
"php",
|
||||
"python",
|
||||
"sql",
|
||||
"tex",
|
||||
"typescript",
|
||||
"typescriptreact",
|
||||
},
|
||||
--[[ config = function()
|
||||
vim.lsp.config('*', require('coq').lsp_ensure_capabilities {
|
||||
on_attach = function(client, bufnr)
|
||||
local basics = require('lsp_basics')
|
||||
basics.make_lsp_commands(client, bufnr)
|
||||
basics.make_lsp_mappings(client, bufnr)
|
||||
end
|
||||
})
|
||||
end, ]]--
|
||||
|
||||
-- config = function()
|
||||
-- local masonlsp = require 'mason-lspconfig'
|
||||
-- --[[
|
||||
|
||||
@@ -43,7 +43,7 @@ return {
|
||||
lazy = false,
|
||||
init = function()
|
||||
vim.g.indent_guides_guide_size = 1
|
||||
vim.g.indent_guides_tab_guides = 0
|
||||
vim.g.indent_guides_tab_guides = 0
|
||||
vim.g.indent_guides_start_level = 2
|
||||
vim.g.indent_guides_enable_on_vim_startup = 1
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user