|
|
|
@ -91,7 +91,7 @@ vim.g.mapleader = ' '
|
|
|
|
|
vim.g.maplocalleader = ' '
|
|
|
|
|
|
|
|
|
|
-- Set to true if you have a Nerd Font installed and selected in the terminal
|
|
|
|
|
vim.g.have_nerd_font = false
|
|
|
|
|
vim.g.have_nerd_font = true
|
|
|
|
|
|
|
|
|
|
-- [[ Setting options ]]
|
|
|
|
|
-- See `:help vim.o`
|
|
|
|
@ -694,13 +694,34 @@ require('lazy').setup({
|
|
|
|
|
-- But for many setups, the LSP (`ts_ls`) will work just fine
|
|
|
|
|
-- ts_ls = {},
|
|
|
|
|
--
|
|
|
|
|
volar = {},
|
|
|
|
|
jedi_language_server = {},
|
|
|
|
|
intelephense = {},
|
|
|
|
|
terraformls = {},
|
|
|
|
|
templ = {
|
|
|
|
|
filetypes = { 'templ' },
|
|
|
|
|
},
|
|
|
|
|
tsserver = {},
|
|
|
|
|
ts_ls = {
|
|
|
|
|
settings = {
|
|
|
|
|
implicitProjectConfiguration = {
|
|
|
|
|
checkJs = true,
|
|
|
|
|
},
|
|
|
|
|
},
|
|
|
|
|
init_options = {
|
|
|
|
|
plugins = {
|
|
|
|
|
{
|
|
|
|
|
name = '@vue/typescript-plugin',
|
|
|
|
|
location = '/home/ocxm/.asdf/installs/nodejs/23.2.0/lib/node_modules/@vue/typescript-plugin',
|
|
|
|
|
languages = { 'javascript', 'typescript', 'vue' },
|
|
|
|
|
},
|
|
|
|
|
},
|
|
|
|
|
},
|
|
|
|
|
filetypes = {
|
|
|
|
|
'javascript',
|
|
|
|
|
'typescript',
|
|
|
|
|
'vue',
|
|
|
|
|
},
|
|
|
|
|
},
|
|
|
|
|
gopls = {
|
|
|
|
|
settings = {
|
|
|
|
|
gopls = {
|
|
|
|
@ -974,7 +995,23 @@ require('lazy').setup({
|
|
|
|
|
main = 'nvim-treesitter.configs', -- Sets main module to use for opts
|
|
|
|
|
-- [[ Configure Treesitter ]] See `:help nvim-treesitter`
|
|
|
|
|
opts = {
|
|
|
|
|
ensure_installed = { 'bash', 'c', 'diff', 'html', 'lua', 'luadoc', 'markdown', 'markdown_inline', 'query', 'vim', 'vimdoc' },
|
|
|
|
|
ensure_installed = {
|
|
|
|
|
'bash',
|
|
|
|
|
'c',
|
|
|
|
|
'diff',
|
|
|
|
|
'go',
|
|
|
|
|
'html',
|
|
|
|
|
'javascript',
|
|
|
|
|
'lua',
|
|
|
|
|
'luadoc',
|
|
|
|
|
'markdown',
|
|
|
|
|
'markdown_inline',
|
|
|
|
|
'php',
|
|
|
|
|
'query',
|
|
|
|
|
'terraform',
|
|
|
|
|
'vim',
|
|
|
|
|
'vimdoc',
|
|
|
|
|
},
|
|
|
|
|
-- Autoinstall languages that are not installed
|
|
|
|
|
auto_install = true,
|
|
|
|
|
highlight = {
|
|
|
|
|