new plugins & organization

This commit is contained in:
Norm Rasmussen
2022-09-08 12:21:50 -04:00
parent 9c0d604a6f
commit 3f08a95c7b
11 changed files with 815 additions and 208 deletions

View File

@ -1,23 +1,27 @@
-----------------------------------------------------------
-- Treesitter configuration file
----------------------------------------------------------
-- Plugin: nvim-treesitter
-- url: https://github.com/nvim-treesitter/nvim-treesitter
local parser_configs = require("nvim-treesitter.parsers").get_parser_configs()
parser_configs.markdown = {
install_info = {
url = "https://github.com/ikatyang/tree-sitter-markdown",
files = { "src/parser.c", "src/scanner.cc" },
local status_ok, nvim_treesitter = pcall(require, 'nvim-treesitter.configs')
if not status_ok then
return
end
-- See: https://github.com/nvim-treesitter/nvim-treesitter#quickstart
nvim_treesitter.setup {
-- A list of parser names, or "all"
ensure_installed = {
'bash', 'css', 'html', 'javascript', 'json', 'lua', 'python',
'vim', 'yaml',
},
filetype = "markdown",
}
require('nvim-treesitter.configs').setup {
-- Install parsers synchronously (only applied to `ensure_installed`)
sync_install = false,
highlight = {
-- `false` will disable the whole extension
enable = true,
},
}