El primero de muchos commits en este fork (espero)
This commit is contained in:
parent
d350db2449
commit
9a4afae932
14
init.lua
14
init.lua
|
@ -88,7 +88,7 @@ P.S. You can delete this when you're done too. It's your config now! :)
|
|||
-- See `:help mapleader`
|
||||
-- NOTE: Must happen before plugins are loaded (otherwise wrong leader will be used)
|
||||
vim.g.mapleader = ' '
|
||||
vim.g.maplocalleader = ' '
|
||||
vim.g.maplocalleader = '\\'
|
||||
|
||||
-- Set to true if you have a Nerd Font installed and selected in the terminal
|
||||
vim.g.have_nerd_font = false
|
||||
|
@ -676,6 +676,9 @@ require('lazy').setup({
|
|||
-- ts_ls = {},
|
||||
--
|
||||
|
||||
--Este es el primer LSP que instalé. Tuve que descargar texlab primero y agregarlo al Path y después venir acá y activarlo
|
||||
texlab = {},
|
||||
|
||||
lua_ls = {
|
||||
-- cmd = { ... },
|
||||
-- filetypes = { ... },
|
||||
|
@ -944,7 +947,9 @@ require('lazy').setup({
|
|||
-- Some languages depend on vim's regex highlighting system (such as Ruby) for indent rules.
|
||||
-- If you are experiencing weird indenting issues, add the language to
|
||||
-- the list of additional_vim_regex_highlighting and disabled languages for indent.
|
||||
additional_vim_regex_highlighting = { 'ruby' },
|
||||
-- Acá estoy deshabilitando el treesitter para latex ya que vimtex lo hace mejor.
|
||||
disable = { 'latex' },
|
||||
additional_vim_regex_highlighting = { 'ruby', 'latex' },
|
||||
},
|
||||
indent = { enable = true, disable = { 'ruby' } },
|
||||
},
|
||||
|
@ -966,12 +971,15 @@ require('lazy').setup({
|
|||
-- Uncomment any of the lines below to enable them (you will need to restart nvim).
|
||||
--
|
||||
-- require 'kickstart.plugins.debug',
|
||||
-- require 'kickstart.plugins.indent_line',
|
||||
require 'kickstart.plugins.indent_line',
|
||||
-- require 'kickstart.plugins.lint',
|
||||
-- require 'kickstart.plugins.autopairs',
|
||||
-- require 'kickstart.plugins.neo-tree',
|
||||
-- require 'kickstart.plugins.gitsigns', -- adds gitsigns recommend keymaps
|
||||
|
||||
-- Esta linea la estoy agregando yo para poder usar el plugin vimtex
|
||||
require 'kickstart.plugins.vimtex',
|
||||
|
||||
-- NOTE: The import below can automatically add your own plugins, configuration, etc from `lua/custom/plugins/*.lua`
|
||||
-- This is the easiest way to modularize your config.
|
||||
--
|
||||
|
|
|
@ -0,0 +1,8 @@
|
|||
return {
|
||||
'lervag/vimtex',
|
||||
lazy = false,
|
||||
init = function()
|
||||
vim.g.vimtex_view_general_viewer = 'C:/Users/ricar/AppData/Local/SumatraPDF/SumatraPDF.exe'
|
||||
vim.g.vimtex_view_general_options = '-reuse-instance -forward-search @tex @line @pdf'
|
||||
end,
|
||||
}
|
Loading…
Reference in New Issue