moved to https://github.com/SpaceVim/SpaceVim/tree/master/bundle/vim-markdown
spacevim / vim-markdown Goto Github PK
View Code? Open in Web Editor NEWmarkdown mode for SpaceVim
License: MIT License
markdown mode for SpaceVim
License: MIT License
How can we add this? I tried following the code used to add YAML highlight, but I'm not really an expert on vim
script and it will probably take me a bunch just to figure this out. I'm not even sure where syntax/yaml.vim
comes from. I tried searching for it but it's not part of this repo, there's no lang#yaml
layer I'm aware of either so I'm not sure.
Any help would be appreciated! Thanks
In other words I tried this:
unlet b:current_syntax
syntax include @Yaml syntax/yaml.vim
syntax region yamlFrontmatter start=/\%^---$/ end=/^---$/ keepend contains=@Yaml
syntax include @Toml syntax/toml.vim
syntax region tomlFrontmatter start=/\%^+++$/ end=/^+++$/ keepend contains=@Toml
let b:current_syntax = "markdown"
But doesn't look like it's working.
https://github.com/SpaceVim/vim-markdown/blob/master/plugin/markdown.vim
The above file and its vim code does not appear to be loaded and executed when launching SpaceVim for a markdown file.
The three variables are not defined as needed.
This causes an error while launching the editor since ftplugin/markdown.vim needs the following variable to be defined:
if g:markdown_default_mappings
inoremap <buffer> <C-b> ****<Left><Left>
endif
Platform: SpaceVim on Termux.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.