Skip to content

Instantly share code, notes, and snippets.

@juninhopo
Last active July 4, 2024 07:47
Show Gist options
  • Save juninhopo/e29e623dee07526d656c0c76e0b8f1c6 to your computer and use it in GitHub Desktop.
Save juninhopo/e29e623dee07526d656c0c76e0b8f1c6 to your computer and use it in GitHub Desktop.
Lunarvim configs
-- Read the docs: https://www.lunarvim.org/docs/configuration
-- Video Tutorials: https://www.youtube.com/watch?v=sFA9kX-Ud_c&list=PLhoH5vyxr6QqGu0i7tt_XoVK9v-KvZ3m6
-- Forum: https://www.reddit.com/r/lunarvim/
-- Discord: https://discord.com/invite/Xb9B4Ny
local linters = require "lvim.lsp.null-ls.linters"
linters.setup {
{ command = "eslint", filetypes = { "typescript", "typescriptreact" } }
}
local formatters = require "lvim.lsp.null-ls.formatters"
formatters.setup {
{ command = "eslint", filetypes = { "typescript", "javascript", "typescriptreact" } },
}
-- Encontrar como arrumar o lvim.plugins pois aqui está depreceado
lvim.plugins ={
}
-- Folding
vim.opt.foldmethod = "expr"
vim.opt.foldexpr = "nvim_treesitter#foldexpr()"
vim.opt.foldlevel= 20
vim.o.wrap = true
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment