Browse Source

new configs added

macos
junikimm717 2 years ago
parent
commit
a75cd70129
  1. 2
      .gitignore
  2. 3
      after/plugin/lsp.lua
  3. 7
      after/plugin/treesitter.lua

2
.gitignore

@ -1,5 +1,7 @@
luac.out luac.out
/plugin /plugin
/venv
__pycache__
# luarocks build files # luarocks build files
*.src.rock *.src.rock

3
after/plugin/lsp.lua

@ -13,7 +13,8 @@ lsp.ensure_installed({
'texlab', 'texlab',
'pyright', 'pyright',
'sumneko_lua', 'sumneko_lua',
'efm'
'efm',
'ltex'
}) })
lsp.configure("efm", { lsp.configure("efm", {

7
after/plugin/treesitter.lua

@ -1,4 +1,4 @@
require'nvim-treesitter.configs'.setup {
require 'nvim-treesitter.configs'.setup {
-- A list of parser names, or "all" (the four listed parsers should always be installed) -- A list of parser names, or "all" (the four listed parsers should always be installed)
ensure_installed = { ensure_installed = {
"c", "c",
@ -19,7 +19,10 @@ require'nvim-treesitter.configs'.setup {
"lua", "lua",
"help", "help",
"markdown", "markdown",
"gitignore"
"gitignore",
"toml",
"yaml",
"nix",
}, },
-- Install parsers synchronously (only applied to `ensure_installed`) -- Install parsers synchronously (only applied to `ensure_installed`)

Loading…
Cancel
Save