mirror of
https://github.com/SpaceVim/SpaceVim.git
synced 2025-03-13 02:05:40 +08:00
Add lang#foxpro layer
* Add lang#foxpro layer * Update * Update doc * Update doc
This commit is contained in:
parent
73a8465bce
commit
90f46d2886
@ -15,7 +15,7 @@ function! SpaceVim#dev#pull#create(branch)
|
||||
echon 'Pull request #' . respons.number . ' has been created!'
|
||||
elseif !empty(respons)
|
||||
let msg = get(respons, 'message', '')
|
||||
echon 'Failed to create pull request ' . respons.number . ':' . msg
|
||||
echon 'Failed to create pull request:' . msg
|
||||
endif
|
||||
endfunction
|
||||
|
||||
|
17
autoload/SpaceVim/layers/lang/foxpro.vim
Normal file
17
autoload/SpaceVim/layers/lang/foxpro.vim
Normal file
@ -0,0 +1,17 @@
|
||||
"=============================================================================
|
||||
" foxpro.vim --- Visual FoxPro language support
|
||||
" Copyright (c) 2016-2019 Wang Shidong & Contributors
|
||||
" Author: Wang Shidong < wsdjeg@outlook.com >
|
||||
" URL: https://spacevim.org
|
||||
" License: GPLv3
|
||||
"=============================================================================
|
||||
|
||||
function! SpaceVim#layers#lang#foxpro#plugins() abort
|
||||
let plugins = []
|
||||
call add(plugins, ['wsdjeg/vim-foxpro', { 'merged' : 0}])
|
||||
return plugins
|
||||
endfunction
|
||||
|
||||
function! SpaceVim#layers#lang#foxpro#config() abort
|
||||
|
||||
endfunction
|
@ -99,6 +99,7 @@ Vim 插件以及相关配置。而 SpaceVim 是以模块的方式来组织和管
|
||||
| [lang#elm](lang/elm/) | 这一模块为 SpaceVim 提供了 Elm 的开发支持,包括代码补全、语法检查、代码格式化等特性。 |
|
||||
| [lang#erlang](lang/erlang/) | 这一模块为 Erlang 开发提供支持,包括代码补全、语法检查、代码格式化等特性。 |
|
||||
| [lang#extra](lang/extra/) | 这一模块为 SpaceVim 提供了一些不常见的语言添加语法支持,主要包括语法高亮、对齐等特性。 |
|
||||
| [lang#foxpro](lang/foxpro/) | 这一模块为 Visual FoxPro 开发提供支持,提供 foxpro 语法高亮。 |
|
||||
| [lang#fsharp](lang/fsharp/) | 这一模块为 SpaceVim 提供了 FSharp 的开发支持,包括代码补全、语法检查、代码格式化等特性。 |
|
||||
| [lang#go](lang/go/) | 这一模块为 SpaceVim 提供了 Go 的开发支持,包括代码补全、语法检查、代码格式化等特性。 |
|
||||
| [lang#goby](lang/goby/) | 这一模块为 goby 开发提供支持,包括交互式编程、一键运行等特性。 |
|
||||
|
27
docs/cn/layers/lang/foxpro.md
Normal file
27
docs/cn/layers/lang/foxpro.md
Normal file
@ -0,0 +1,27 @@
|
||||
---
|
||||
title: "SpaceVim lang#foxpro 模块"
|
||||
description: "这一模块为 Visual FoxPro 开发提供支持,提供 foxpro 语法高亮。"
|
||||
lang: cn
|
||||
---
|
||||
|
||||
# [可用模块](../../) >> lang#foxpro
|
||||
|
||||
<!-- vim-markdown-toc GFM -->
|
||||
|
||||
- [模块简介](#模块简介)
|
||||
- [启用模块](#启用模块)
|
||||
|
||||
<!-- vim-markdown-toc -->
|
||||
|
||||
## 模块简介
|
||||
|
||||
这一模块为在 SpaceVim 中进行 foxpro 开发提供了支持。
|
||||
|
||||
## 启用模块
|
||||
|
||||
可通过在配置文件内加入如下配置来启用该模块:
|
||||
|
||||
```toml
|
||||
[[layers]]
|
||||
name = "lang#foxpro"
|
||||
```
|
@ -106,6 +106,7 @@ Some layers are enabled by default. The following example shows how to disable `
|
||||
| [lang#elm](lang/elm/) | This layer is for Elm development, provide autocompletion, syntax checking, code format for Elm file. |
|
||||
| [lang#erlang](lang/erlang/) | This layer is for Erlang development, provide autocompletion, syntax checking, code format for Erlang file. |
|
||||
| [lang#extra](lang/extra/) | This layer adds extra language support to SpaceVim |
|
||||
| [lang#foxpro](lang/foxpro/) | This layer is for Visual FoxPro development, provide syntax highlighting for foxpro file. |
|
||||
| [lang#fsharp](lang/fsharp/) | This layer adds FSharp language support to SpaceVim |
|
||||
| [lang#go](lang/go/) | This layer is for golang development. It also provides additional language-specific key mappings. |
|
||||
| [lang#goby](lang/goby/) | This layer is for goby development, provide syntax checking, code runner and repl support for goby file. |
|
||||
|
31
docs/layers/lang/foxpro.md
Normal file
31
docs/layers/lang/foxpro.md
Normal file
@ -0,0 +1,31 @@
|
||||
---
|
||||
title: "SpaceVim lang#foxpro layer"
|
||||
description: "This layer is for Visual FoxPro development, provide syntax highlighting for foxpro file."
|
||||
---
|
||||
|
||||
# [Available Layers](../../) >> lang#foxpro
|
||||
|
||||
<!-- vim-markdown-toc GFM -->
|
||||
|
||||
- [Description](#description)
|
||||
- [Install](#install)
|
||||
- [Features](#features)
|
||||
|
||||
<!-- vim-markdown-toc -->
|
||||
|
||||
## Description
|
||||
|
||||
This layer is for foxpro development.
|
||||
|
||||
## Install
|
||||
|
||||
To use this configuration layer, update custom configuration file with:
|
||||
|
||||
```toml
|
||||
[[layers]]
|
||||
name = "lang#foxpro"
|
||||
```
|
||||
## Features
|
||||
|
||||
- syntax highlighting
|
||||
|
@ -44,7 +44,7 @@
|
||||
| TypeScript | lang#typescript |
|
||||
| clojure | [lang#clojure](https://spacevim.org/layers/lang/clojure/) |
|
||||
| erlang | lang#erlang |
|
||||
| (Visual) FoxPro: FoxPro, Fox Pro, VFP | |
|
||||
| FoxPro | lang#foxpro |
|
||||
| 4th Dimension/4D: 4D, 4th Dimension | |
|
||||
| ABAP | |
|
||||
| ABC: ABC (exceptions: -tv -channel) | |
|
||||
|
Loading…
x
Reference in New Issue
Block a user