We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
cargo rustdoc
cargo doc
1 parent 0ece721 commit c1a6b9aCopy full SHA for c1a6b9a
1 file changed
lua/dooku/config.lua
@@ -1,6 +1,6 @@
1
-- Dooku.nivm plugin options.
2
local M = {}
3
-local is_windows = package.config:sub(1, 1) == "\\"
+local is_windows = vim.fn.has('win32') == 1
4
local utils = require "dooku.utils"
5
6
---Returns a default value if opt is nil.
@@ -152,7 +152,7 @@ function M.set(opts)
152
M.rustdoc_html_file = opts.rustdoc_html_file or "index.html"
153
154
-- Command to run rustdoc
155
- M.rustdoc_cmd = opts.rustdoc_cmd or "cargo rustdoc"
+ M.rustdoc_cmd = opts.rustdoc_cmd or "cargo doc"
156
157
-- [GODOC]
158
---------------------------------------------------------------
0 commit comments