update vim config

This commit is contained in:
LordMZTE 2021-05-11 15:43:29 +02:00
parent eb13b00e82
commit 44c084e921
3 changed files with 37 additions and 1 deletions

View file

@ -0,0 +1,2 @@
local g = vim.g
g.markdown_composer_syntax_theme = "dracula"

View file

@ -0,0 +1,21 @@
local configs = require "nvim-treesitter.configs"
local parsers = require "nvim-treesitter.parsers"
local parser_config = parsers.get_parser_configs()
parser_config.haxe = {
install_info = {
url = "https://github.com/vantreeseba/tree-sitter-haxe",
files = {"src/parser.c"},
branch = "main"
},
filetype = "haxe"
}
configs.setup {
ensure_installed = { "haxe" },
highlight = {
enable = true
}
}

View file

@ -18,7 +18,10 @@ return require("packer").startup(function(use)
use "ryanoasis/vim-devicons"
use "cespare/vim-toml"
use "junegunn/fzf"
use {"dracula/vim", as = "dracula"}
use {
"dracula/vim",
as = "dracula"
}
use "jiangmiao/auto-pairs"
use "tpope/vim-endwise"
use "vimwiki/vimwiki"
@ -38,5 +41,15 @@ return require("packer").startup(function(use)
branch = "main",
config = pconf("galaxyline")
}
use {
"nvim-treesitter/nvim-treesitter",
run = ":TSUpdate",
config = pconf("treesitter")
}
use {
"euclio/vim-markdown-composer",
run = "cargo build --release",
config = pconf("markdowncomposer")
}
end)