mirror of
https://mzte.de/git/LordMZTE/dotfiles.git
synced 2025-01-19 03:01:52 +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 "ryanoasis/vim-devicons"
|
||||||
use "cespare/vim-toml"
|
use "cespare/vim-toml"
|
||||||
use "junegunn/fzf"
|
use "junegunn/fzf"
|
||||||
use {"dracula/vim", as = "dracula"}
|
use {
|
||||||
|
"dracula/vim",
|
||||||
|
as = "dracula"
|
||||||
|
}
|
||||||
use "jiangmiao/auto-pairs"
|
use "jiangmiao/auto-pairs"
|
||||||
use "tpope/vim-endwise"
|
use "tpope/vim-endwise"
|
||||||
use "vimwiki/vimwiki"
|
use "vimwiki/vimwiki"
|
||||||
|
@ -38,5 +41,15 @@ return require("packer").startup(function(use)
|
||||||
branch = "main",
|
branch = "main",
|
||||||
config = pconf("galaxyline")
|
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)
|
end)
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue