default-config.lua 19 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826
  1. CONFIG_PATH = os.getenv "HOME" .. "/.local/share/lunarvim/lvim"
  2. DATA_PATH = vim.fn.stdpath "data"
  3. CACHE_PATH = vim.fn.stdpath "cache"
  4. TERMINAL = vim.fn.expand "$TERMINAL"
  5. USER = vim.fn.expand "$USER"
  6. lvim = {
  7. leader = "space",
  8. colorscheme = "spacegray",
  9. line_wrap_cursor_movement = true,
  10. transparent_window = false,
  11. format_on_save = true,
  12. vsnip_dir = os.getenv "HOME" .. "/.config/snippets",
  13. database = { save_location = "~/.config/lunarvim_db", auto_execute = 1 },
  14. keys = {},
  15. -- TODO why do we need this?
  16. builtin = {
  17. lspinstall = {},
  18. telescope = {},
  19. compe = {},
  20. autopairs = {},
  21. treesitter = {},
  22. nvimtree = {},
  23. gitsigns = {},
  24. which_key = {},
  25. comment = {},
  26. rooter = {},
  27. galaxyline = {},
  28. bufferline = {},
  29. dap = {},
  30. dashboard = {},
  31. terminal = {},
  32. },
  33. lsp = {
  34. diagnostics = {
  35. virtual_text = {
  36. prefix = "",
  37. spacing = 0,
  38. },
  39. signs = true,
  40. underline = true,
  41. },
  42. override = {},
  43. document_highlight = true,
  44. popup_border = "single",
  45. default_keybinds = true,
  46. on_attach_callback = nil,
  47. },
  48. plugins = {
  49. -- use lv-config.lua for this not put here
  50. },
  51. autocommands = {},
  52. }
  53. local schemas = nil
  54. local common_on_attach = require("lsp").common_on_attach
  55. local common_capabilities = require("lsp").common_capabilities()
  56. local status_ok, jsonls_settings = pcall(require, "nlspsettings.jsonls")
  57. if status_ok then
  58. schemas = jsonls_settings.get_default_schemas()
  59. end
  60. -- TODO move all of this into lang specific files, only require when using
  61. lvim.lang = {
  62. c = {
  63. formatter = {
  64. exe = "clang_format",
  65. args = {},
  66. stdin = true,
  67. },
  68. linters = {
  69. "clangtidy",
  70. },
  71. lsp = {
  72. provider = "clangd",
  73. setup = {
  74. cmd = {
  75. DATA_PATH .. "/lspinstall/cpp/clangd/bin/clangd",
  76. "--background-index",
  77. "--header-insertion=never",
  78. "--cross-file-rename",
  79. "--clang-tidy",
  80. "--clang-tidy-checks=-*,llvm-*,clang-analyzer-*",
  81. },
  82. on_attach = common_on_attach,
  83. capabilities = common_capabilities,
  84. },
  85. },
  86. },
  87. cpp = {
  88. formatter = {
  89. exe = "clang_format",
  90. args = {},
  91. stdin = true,
  92. },
  93. linters = {
  94. "cppcheck",
  95. "clangtidy",
  96. },
  97. lsp = {
  98. provider = "clangd",
  99. setup = {
  100. cmd = {
  101. DATA_PATH .. "/lspinstall/cpp/clangd/bin/clangd",
  102. "--background-index",
  103. "--header-insertion=never",
  104. "--cross-file-rename",
  105. "--clang-tidy",
  106. "--clang-tidy-checks=-*,llvm-*,clang-analyzer-*",
  107. },
  108. on_attach = common_on_attach,
  109. capabilities = common_capabilities,
  110. },
  111. },
  112. },
  113. cs = {
  114. formatter = {
  115. exe = "",
  116. args = {},
  117. },
  118. linters = {},
  119. lsp = {
  120. provider = "omnisharp",
  121. setup = {
  122. cmd = {
  123. DATA_PATH .. "/lspinstall/csharp/omnisharp/run",
  124. "--stdio",
  125. },
  126. on_attach = common_on_attach,
  127. capabilities = common_capabilities,
  128. },
  129. },
  130. },
  131. cmake = {
  132. formatter = {
  133. exe = "clang-format",
  134. args = {},
  135. },
  136. lsp = {
  137. provider = "cmake",
  138. setup = {
  139. cmd = {
  140. DATA_PATH .. "/lspinstall/cmake/venv/bin/cmake-language-server",
  141. "--stdio",
  142. },
  143. on_attach = common_on_attach,
  144. capabilities = common_capabilities,
  145. },
  146. },
  147. },
  148. clojure = {
  149. lsp = {
  150. provider = "clojure_lsp",
  151. setup = {
  152. cmd = {
  153. DATA_PATH .. "/lspinstall/clojure/clojure-lsp",
  154. "--stdio",
  155. },
  156. on_attach = common_on_attach,
  157. capabilities = common_capabilities,
  158. },
  159. },
  160. },
  161. css = {
  162. formatter = {
  163. exe = "prettier",
  164. args = {},
  165. },
  166. lsp = {
  167. provider = "cssls",
  168. setup = {
  169. cmd = {
  170. "node",
  171. DATA_PATH .. "/lspinstall/css/vscode-css/css-language-features/server/dist/node/cssServerMain.js",
  172. "--stdio",
  173. },
  174. on_attach = common_on_attach,
  175. capabilities = common_capabilities,
  176. },
  177. },
  178. },
  179. dart = {
  180. lsp = {
  181. provider = "dartls",
  182. setup = {
  183. cmd = {
  184. "dart",
  185. "/usr/lib/dart/bin/snapshots/analysis_server.dart.snapshot",
  186. "--lsp",
  187. },
  188. on_attach = common_on_attach,
  189. capabilities = common_capabilities,
  190. },
  191. },
  192. formatter = {
  193. exe = "dart",
  194. args = { "format" },
  195. stdin = true,
  196. },
  197. },
  198. docker = {
  199. lsp = {
  200. provider = "dockerls",
  201. setup = {
  202. cmd = {
  203. DATA_PATH .. "/lspinstall/dockerfile/node_modules/.bin/docker-langserver",
  204. "--stdio",
  205. },
  206. on_attach = common_on_attach,
  207. capabilities = common_capabilities,
  208. },
  209. },
  210. },
  211. elixir = {
  212. formatter = {
  213. exe = "mix",
  214. args = { "format" },
  215. stdin = true,
  216. },
  217. lsp = {
  218. provider = "elixirls",
  219. setup = {
  220. cmd = {
  221. DATA_PATH .. "/lspinstall/elixir/elixir-ls/language_server.sh",
  222. },
  223. on_attach = common_on_attach,
  224. capabilities = common_capabilities,
  225. },
  226. },
  227. },
  228. elm = {
  229. formatter = {
  230. exe = "",
  231. args = {},
  232. stdin = true,
  233. },
  234. linters = {},
  235. lsp = {
  236. provider = "elmls",
  237. setup = {
  238. cmd = {
  239. DATA_PATH .. "/lspinstall/elm/node_modules/.bin/elm-language-server",
  240. },
  241. on_attach = common_on_attach,
  242. init_options = {
  243. elmAnalyseTrigger = "change",
  244. elmFormatPath = DATA_PATH .. "/lspinstall/elm/node_modules/.bin/elm-format",
  245. elmPath = DATA_PATH .. "/lspinstall/elm/node_modules/.bin/",
  246. elmTestPath = DATA_PATH .. "/lspinstall/elm/node_modules/.bin/elm-test",
  247. },
  248. },
  249. },
  250. },
  251. erlang = {
  252. lsp = {
  253. provider = "erlangls",
  254. setup = {
  255. cmd = {
  256. "erlang_ls",
  257. },
  258. on_attach = common_on_attach,
  259. capabilities = common_capabilities,
  260. },
  261. },
  262. },
  263. emmet = { active = false },
  264. go = {
  265. formatter = {
  266. exe = "gofmt",
  267. args = {},
  268. stdin = true,
  269. },
  270. linters = {
  271. "golangcilint",
  272. "revive",
  273. },
  274. lsp = {
  275. provider = "gopls",
  276. setup = {
  277. cmd = {
  278. DATA_PATH .. "/lspinstall/go/gopls",
  279. },
  280. on_attach = common_on_attach,
  281. capabilities = common_capabilities,
  282. },
  283. },
  284. },
  285. graphql = {
  286. lsp = {
  287. provider = "graphql",
  288. setup = {
  289. cmd = {
  290. "graphql-lsp",
  291. "server",
  292. "-m",
  293. "stream",
  294. },
  295. on_attach = common_on_attach,
  296. capabilities = common_capabilities,
  297. },
  298. },
  299. },
  300. html = {
  301. linters = {
  302. "tidy",
  303. -- https://docs.errata.ai/vale/scoping#html
  304. "vale",
  305. },
  306. lsp = {
  307. provider = "html",
  308. setup = {
  309. cmd = {
  310. "node",
  311. DATA_PATH .. "/lspinstall/html/vscode-html/html-language-features/server/dist/node/htmlServerMain.js",
  312. "--stdio",
  313. },
  314. on_attach = common_on_attach,
  315. capabilities = common_capabilities,
  316. },
  317. },
  318. },
  319. java = {
  320. formatter = {
  321. exe = "prettier",
  322. args = { "--stdin-filepath", vim.api.nvim_buf_get_name(0) },
  323. },
  324. lsp = {
  325. provider = "jdtls",
  326. setup = {
  327. cmd = { DATA_PATH .. "/lspinstall/java/jdtls.sh" },
  328. on_attach = common_on_attach,
  329. capabilities = common_capabilities,
  330. },
  331. },
  332. },
  333. json = {
  334. formatter = {
  335. exe = "python",
  336. args = { "-m", "json.tool" },
  337. stdin = true,
  338. },
  339. lsp = {
  340. provider = "jsonls",
  341. setup = {
  342. cmd = {
  343. "node",
  344. DATA_PATH .. "/lspinstall/json/vscode-json/json-language-features/server/dist/node/jsonServerMain.js",
  345. "--stdio",
  346. },
  347. on_attach = common_on_attach,
  348. capabilities = common_capabilities,
  349. settings = {
  350. json = {
  351. schemas = schemas,
  352. -- = {
  353. -- {
  354. -- fileMatch = { "package.json" },
  355. -- url = "https://json.schemastore.org/package.json",
  356. -- },
  357. -- },
  358. },
  359. },
  360. commands = {
  361. Format = {
  362. function()
  363. vim.lsp.buf.range_formatting({}, { 0, 0 }, { vim.fn.line "$", 0 })
  364. end,
  365. },
  366. },
  367. },
  368. },
  369. },
  370. julia = {
  371. lsp = {
  372. provider = "julials",
  373. setup = {
  374. {
  375. "julia",
  376. "--startup-file=no",
  377. "--history-file=no",
  378. -- vim.fn.expand "~/.config/nvim/lua/lsp/julia/run.jl",
  379. CONFIG_PATH .. "/utils/julia/run.jl",
  380. },
  381. on_attach = common_on_attach,
  382. capabilities = common_capabilities,
  383. },
  384. },
  385. },
  386. kotlin = {
  387. lsp = {
  388. provider = "kotlin_language_server",
  389. setup = {
  390. cmd = {
  391. DATA_PATH .. "/lspinstall/kotlin/server/bin/kotlin-language-server",
  392. },
  393. on_attach = common_on_attach,
  394. root_dir = function(fname)
  395. local util = require "lspconfig/util"
  396. local root_files = {
  397. "settings.gradle", -- Gradle (multi-project)
  398. "settings.gradle.kts", -- Gradle (multi-project)
  399. "build.xml", -- Ant
  400. "pom.xml", -- Maven
  401. }
  402. local fallback_root_files = {
  403. "build.gradle", -- Gradle
  404. "build.gradle.kts", -- Gradle
  405. }
  406. return util.root_pattern(unpack(root_files))(fname) or util.root_pattern(unpack(fallback_root_files))(fname)
  407. end,
  408. },
  409. },
  410. },
  411. lua = {
  412. formatter = {
  413. exe = "stylua",
  414. args = {},
  415. },
  416. linters = { "luacheck" },
  417. lsp = {
  418. provider = "sumneko_lua",
  419. setup = {
  420. cmd = {
  421. DATA_PATH .. "/lspinstall/lua/sumneko-lua-language-server",
  422. "-E",
  423. DATA_PATH .. "/lspinstall/lua/main.lua",
  424. },
  425. on_attach = common_on_attach,
  426. settings = {
  427. Lua = {
  428. runtime = {
  429. -- Tell the language server which version of Lua you're using (most likely LuaJIT in the case of Neovim)
  430. version = "LuaJIT",
  431. -- Setup your lua path
  432. path = vim.split(package.path, ";"),
  433. },
  434. diagnostics = {
  435. -- Get the language server to recognize the `vim` global
  436. globals = { "vim", "O" },
  437. },
  438. workspace = {
  439. -- Make the server aware of Neovim runtime files
  440. library = {
  441. [vim.fn.expand "~/.local/share/lunarvim/lvim/lua"] = true,
  442. [vim.fn.expand "$VIMRUNTIME/lua"] = true,
  443. [vim.fn.expand "$VIMRUNTIME/lua/vim/lsp"] = true,
  444. },
  445. maxPreload = 100000,
  446. preloadFileSize = 1000,
  447. },
  448. },
  449. },
  450. },
  451. },
  452. },
  453. php = {
  454. formatter = {
  455. exe = "phpcbf",
  456. args = { "--standard=PSR12", vim.api.nvim_buf_get_name(0) },
  457. },
  458. linters = {},
  459. lsp = {
  460. provider = "intelephense",
  461. setup = {
  462. cmd = {
  463. DATA_PATH .. "/lspinstall/php/node_modules/.bin/intelephense",
  464. "--stdio",
  465. },
  466. on_attach = common_on_attach,
  467. filetypes = { "php", "phtml" },
  468. settings = {
  469. intelephense = {
  470. environment = {
  471. phpVersion = "7.4",
  472. },
  473. },
  474. },
  475. },
  476. },
  477. },
  478. javascript = {
  479. -- @usage can be prettier or eslint
  480. formatter = {
  481. exe = "prettier",
  482. args = {},
  483. },
  484. linters = {
  485. "eslint",
  486. },
  487. lsp = {
  488. provider = "tsserver",
  489. setup = {
  490. cmd = {
  491. -- TODO:
  492. DATA_PATH .. "/lspinstall/typescript/node_modules/.bin/typescript-language-server",
  493. "--stdio",
  494. },
  495. on_attach = require("lsp").common_on_attach,
  496. capabilities = require("lsp").common_capabilities(),
  497. },
  498. },
  499. },
  500. javascriptreact = {
  501. -- @usage can be prettier or eslint
  502. formatter = {
  503. exe = "prettier",
  504. args = {},
  505. },
  506. linters = {
  507. "eslint",
  508. },
  509. lsp = {
  510. provider = "tsserver",
  511. setup = {
  512. cmd = {
  513. -- TODO:
  514. DATA_PATH .. "/lspinstall/typescript/node_modules/.bin/typescript-language-server",
  515. "--stdio",
  516. },
  517. on_attach = require("lsp").common_on_attach,
  518. capabilities = require("lsp").common_capabilities(),
  519. },
  520. },
  521. },
  522. python = {
  523. -- @usage can be flake8 or yapf
  524. formatter = {
  525. exe = "black",
  526. args = {},
  527. },
  528. linters = {
  529. "flake8",
  530. "pylint",
  531. "mypy",
  532. },
  533. lsp = {
  534. provider = "pyright",
  535. setup = {
  536. cmd = {
  537. DATA_PATH .. "/lspinstall/python/node_modules/.bin/pyright-langserver",
  538. "--stdio",
  539. },
  540. on_attach = common_on_attach,
  541. capabilities = common_capabilities,
  542. },
  543. },
  544. },
  545. -- R -e 'install.packages("formatR",repos = "http://cran.us.r-project.org")'
  546. -- R -e 'install.packages("readr",repos = "http://cran.us.r-project.org")'
  547. r = {
  548. formatter = {
  549. exe = "R",
  550. args = {
  551. "--slave",
  552. "--no-restore",
  553. "--no-save",
  554. '-e "formatR::tidy_source(text=readr::read_file(file(\\"stdin\\")), arrow=FALSE)"',
  555. },
  556. stdin = true,
  557. },
  558. lsp = {
  559. provider = "r_language_server",
  560. setup = {
  561. cmd = {
  562. "R",
  563. "--slave",
  564. "-e",
  565. "languageserver::run()",
  566. },
  567. on_attach = common_on_attach,
  568. capabilities = common_capabilities,
  569. },
  570. },
  571. },
  572. ruby = {
  573. formatter = {
  574. exe = "rufo",
  575. args = { "-x" },
  576. stdin = true,
  577. },
  578. linters = { "ruby" },
  579. lsp = {
  580. provider = "solargraph",
  581. setup = {
  582. cmd = {
  583. DATA_PATH .. "/lspinstall/ruby/solargraph/solargraph",
  584. "stdio",
  585. },
  586. on_attach = common_on_attach,
  587. capabilities = common_capabilities,
  588. },
  589. },
  590. },
  591. rust = {
  592. formatter = {
  593. exe = "rustfmt",
  594. args = { "--emit=stdout", "--edition=2018" },
  595. stdin = true,
  596. },
  597. lsp = {
  598. provider = "rust_analyzer",
  599. setup = {
  600. cmd = {
  601. DATA_PATH .. "/lspinstall/rust/rust-analyzer",
  602. },
  603. on_attach = common_on_attach,
  604. capabilities = common_capabilities,
  605. },
  606. },
  607. },
  608. sh = {
  609. -- @usage can be 'shfmt'
  610. formatter = {
  611. exe = "shfmt",
  612. args = {},
  613. },
  614. -- @usage can be 'shellcheck'
  615. linters = { "shellcheck" },
  616. lsp = {
  617. provider = "bashls",
  618. setup = {
  619. cmd = {
  620. DATA_PATH .. "/lspinstall/bash/node_modules/.bin/bash-language-server",
  621. "start",
  622. },
  623. on_attach = common_on_attach,
  624. capabilities = common_capabilities,
  625. },
  626. },
  627. },
  628. svelte = {
  629. lsp = {
  630. provider = "svelte",
  631. setup = {
  632. cmd = {
  633. DATA_PATH .. "/lspinstall/svelte/node_modules/.bin/svelteserver",
  634. "--stdio",
  635. },
  636. on_attach = common_on_attach,
  637. capabilities = common_capabilities,
  638. },
  639. },
  640. },
  641. swift = {
  642. formatter = {
  643. exe = "swiftformat",
  644. args = {},
  645. stdin = true,
  646. },
  647. lsp = {
  648. provider = "sourcekit",
  649. setup = {
  650. cmd = {
  651. "xcrun",
  652. "sourcekit-lsp",
  653. },
  654. on_attach = common_on_attach,
  655. capabilities = common_capabilities,
  656. },
  657. },
  658. },
  659. tailwindcss = {
  660. active = false,
  661. filetypes = {
  662. "html",
  663. "css",
  664. "scss",
  665. "javascript",
  666. "javascriptreact",
  667. "typescript",
  668. "typescriptreact",
  669. },
  670. },
  671. terraform = {
  672. formatter = {
  673. exe = "terraform",
  674. args = { "fmt" },
  675. stdin = false,
  676. },
  677. lsp = {
  678. provider = "terraformls",
  679. setup = {
  680. cmd = {
  681. DATA_PATH .. "/lspinstall/terraform/terraform-ls",
  682. "serve",
  683. },
  684. on_attach = common_on_attach,
  685. capabilities = common_capabilities,
  686. },
  687. },
  688. },
  689. typescript = {
  690. -- @usage can be prettier or eslint
  691. formatter = {
  692. exe = "prettier",
  693. args = {},
  694. },
  695. linters = {
  696. "eslint",
  697. },
  698. lsp = {
  699. provider = "tsserver",
  700. setup = {
  701. cmd = {
  702. -- TODO:
  703. DATA_PATH .. "/lspinstall/typescript/node_modules/.bin/typescript-language-server",
  704. "--stdio",
  705. },
  706. on_attach = require("lsp").common_on_attach,
  707. capabilities = require("lsp").common_capabilities(),
  708. },
  709. },
  710. },
  711. typescriptreact = {
  712. -- @usage can be prettier or eslint
  713. formatter = {
  714. exe = "prettier",
  715. args = {},
  716. },
  717. linters = {
  718. "eslint",
  719. },
  720. lsp = {
  721. provider = "tsserver",
  722. setup = {
  723. cmd = {
  724. -- TODO:
  725. DATA_PATH .. "/lspinstall/typescript/node_modules/.bin/typescript-language-server",
  726. "--stdio",
  727. },
  728. on_attach = require("lsp").common_on_attach,
  729. capabilities = require("lsp").common_capabilities(),
  730. },
  731. },
  732. },
  733. vim = {
  734. formatter = {
  735. exe = "",
  736. args = {},
  737. },
  738. linters = { "" },
  739. lsp = {
  740. provider = "vimls",
  741. setup = {
  742. cmd = {
  743. DATA_PATH .. "/lspinstall/vim/node_modules/.bin/vim-language-server",
  744. "--stdio",
  745. },
  746. on_attach = common_on_attach,
  747. capabilities = common_capabilities,
  748. },
  749. },
  750. },
  751. vue = {
  752. formatter = {
  753. exe = "prettier",
  754. args = {
  755. "--stdin-filepath",
  756. "${FILEPATH}",
  757. },
  758. stdin = true,
  759. },
  760. lsp = {
  761. provider = "vetur",
  762. setup = {
  763. cmd = {
  764. DATA_PATH .. "/lspinstall/vue/node_modules/.bin/vls",
  765. },
  766. on_attach = common_on_attach,
  767. capabilities = common_capabilities,
  768. },
  769. },
  770. },
  771. yaml = {
  772. formatter = {
  773. exe = "prettier",
  774. args = { "--stdin-filepath", vim.api.nvim_buf_get_name(0), "--single-quote" },
  775. stdin = true,
  776. },
  777. lsp = {
  778. provider = "yamlls",
  779. setup = {
  780. cmd = {
  781. DATA_PATH .. "/lspinstall/yaml/node_modules/.bin/yaml-language-server",
  782. "--stdio",
  783. },
  784. on_attach = common_on_attach,
  785. capabilities = common_capabilities,
  786. },
  787. },
  788. },
  789. zig = {
  790. formatter = {
  791. exe = "zig",
  792. args = { "fmt" },
  793. stdin = false,
  794. },
  795. lsp = {
  796. provider = "zls",
  797. setup = {
  798. cmd = {
  799. "zls",
  800. },
  801. on_attach = common_on_attach,
  802. capabilities = common_capabilities,
  803. },
  804. },
  805. },
  806. }
  807. require("core.which-key").config()
  808. require "core.status_colors"
  809. require("core.gitsigns").config()
  810. require("core.compe").config()
  811. require("core.dashboard").config()
  812. require("core.dap").config()
  813. require("core.terminal").config()
  814. require("core.telescope").config()
  815. require("core.treesitter").config()
  816. require("core.nvimtree").config()