リビジョン | e9e25c3a2bb5e74de783787cc292bf06f8940f91 (tree) |
---|---|
日時 | 2022-12-16 05:24:23 |
作者 | badcoff33 <none@none> |
コミッター | badcoff33 |
file movement
@@ -25,14 +25,14 @@ nnoremap <buffer> g== o<C-r>="= " .. luaeval(getline(line(".") - 1))<CR> | ||
25 | 25 | |
26 | 26 | " Preview in HTML |
27 | 27 | |
28 | -let b:markdown_css_file = stdpath("config") .. "\\CSS\\simple.css" | |
28 | +let b:markdown_css_file = stdpath("config") .. "\\templates\\simple.css" | |
29 | 29 | if !filereadable(b:markdown_css_file) |
30 | 30 | let b:markdown_css_file = "" |
31 | 31 | else |
32 | 32 | let b:markdown_css_file = " --css=" .. b:markdown_css_file |
33 | 33 | endif |
34 | 34 | |
35 | -let b:markdown_template_file = stdpath("config") .. "\\CSS\\template.html" | |
35 | +let b:markdown_template_file = stdpath("config") .. "\\templates\\template.html" | |
36 | 36 | if !filereadable(b:markdown_template_file) |
37 | 37 | let b:markdown_template_file = "" |
38 | 38 | else |
@@ -120,4 +120,3 @@ function! s:ToggleTodo() | ||
120 | 120 | normal `' |
121 | 121 | endif |
122 | 122 | endfunction |
123 | - |
@@ -23,14 +23,14 @@ iabbrev <buffer> _todo *TODO* | ||
23 | 23 | iabbrev <buffer> _link `NAME <>`_<Esc>2bea |
24 | 24 | |
25 | 25 | " Preview in HTML |
26 | -let b:rst_css_file = stdpath("config") .. "\\CSS\\simple.css" | |
26 | +let b:rst_css_file = stdpath("config") .. "\\templates\\simple.css" | |
27 | 27 | if !filereadable(b:rst_css_file) |
28 | 28 | let b:rst_css_file = "" |
29 | 29 | else |
30 | 30 | let b:rst_css_file = " --css=" .. b:rst_css_file |
31 | 31 | endif |
32 | 32 | |
33 | -let b:rst_template_file = stdpath("config") .. "\\CSS\\template.html" | |
33 | +let b:rst_template_file = stdpath("config") .. "\\templates\\template.html" | |
34 | 34 | if !filereadable(b:rst_template_file) |
35 | 35 | let b:rst_template_file = "" |
36 | 36 | else |
@@ -67,4 +67,3 @@ function! s:MakeHTML(...) | ||
67 | 67 | lua RunAsync.start({ command = vim.b.rst_command, all_silent = true }) |
68 | 68 | endif |
69 | 69 | endfunction |
70 | - |