mirror of
https://mzte.de/git/LordMZTE/dotfiles.git
synced 2024-12-14 09:13:49 +01:00
update vim config
This commit is contained in:
parent
eb13b00e82
commit
44c084e921
3 changed files with 37 additions and 1 deletions
2
nvim/lua/pluginconf/markdowncomposer.lua
Normal file
2
nvim/lua/pluginconf/markdowncomposer.lua
Normal file
|
@ -0,0 +1,2 @@
|
|||
local g = vim.g
|
||||
g.markdown_composer_syntax_theme = "dracula"
|
21
nvim/lua/pluginconf/treesitter.lua
Normal file
21
nvim/lua/pluginconf/treesitter.lua
Normal 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
|
||||
}
|
||||
}
|
||||
|
|
@ -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)
|
||||
|
||||
|
|
Loading…
Reference in a new issue