Skip to content

Commit 5d66b1f

Browse files
committed
Add help file
1 parent f4298b9 commit 5d66b1f

File tree

4 files changed

+43
-1
lines changed

4 files changed

+43
-1
lines changed

addon-info.json

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{
2+
"name": "markdown",
3+
"description": "vim markdown syntax and filetype plugin",
4+
"author": "wsdjeg"
5+
}

doc/markdown.txt

+23
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
*markdown.txt* vim markdown syntax and filetype plugin
2+
wsdjeg *markdown*
3+
4+
==============================================================================
5+
CONTENTS *markdown-contents*
6+
1. Introduction.............................................|markdown-intro|
7+
2. Configuration...........................................|markdown-config|
8+
9+
==============================================================================
10+
INTRODUCTION *markdown-intro*
11+
12+
This is Markdown plugin for SpaceVim, It is based on SpaceVim API. This plugin
13+
include syntax file for Markdown.
14+
15+
==============================================================================
16+
CONFIGURATION *markdown-config*
17+
18+
*g:markdown_default_mappings*
19+
Enable/Diable default mappings when edit markdown file, by default it is
20+
enabled.
21+
22+
23+
vim:tw=78:ts=8:ft=help:norl:

ftplugin/markdown.vim

+3-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
if exists('b:did_ftplugin') | finish | endif
22

3-
inoremap <C-b> ****<Left><Left>
3+
if g:markdown_default_mappings
4+
inoremap <C-b> ****<Left><Left>
5+
endif
46

57
let b:did_ftplugin = 1

plugin/markdown.vim

+12
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
""
2+
" @section Introduction, intro
3+
" This is Markdown plugin for SpaceVim, It is based on SpaceVim API.
4+
" This plugin include syntax file for Markdown.
5+
6+
if !exists('g:markdown_default_mappings')
7+
""
8+
" Enable/Diable default mappings when edit markdown file, by default it is
9+
" enabled.
10+
let g:markdown_default_mappings = 1
11+
endif
12+

0 commit comments

Comments
 (0)