From 958453acb6dd60a0189df46d12c5ad33dc6bc4c6 Mon Sep 17 00:00:00 2001 From: Roman Dobosz Date: Thu, 1 Sep 2016 21:11:44 +0200 Subject: [PATCH] Added link for json fomatter, small fix in rst open in browser fun --- ftplugin/json | 1 + ftplugin/rst/commons.vim | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) create mode 120000 ftplugin/json diff --git a/ftplugin/json b/ftplugin/json new file mode 120000 index 0000000..f504a95 --- /dev/null +++ b/ftplugin/json @@ -0,0 +1 @@ +javascript \ No newline at end of file diff --git a/ftplugin/rst/commons.vim b/ftplugin/rst/commons.vim index 1c7ff9f..df054bf 100644 --- a/ftplugin/rst/commons.vim +++ b/ftplugin/rst/commons.vim @@ -6,7 +6,7 @@ setlocal smartindent setlocal autoindent setlocal formatoptions=tcq "set VIms default -function ShowInBrowser() +function! ShowInBrowser() let l:uri = expand("%:p:r") . ".html" silent make call system(g:browser . " " . l:uri)