Skip to content

Commit

Permalink
fix: We were erroneusly using cargo rustdoc instead of cargo doc.
Browse files Browse the repository at this point in the history
It will now generate the docs correctly on real world scenarios.
  • Loading branch information
Zeioth committed Mar 18, 2024
1 parent 0ece721 commit c1a6b9a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lua/dooku/config.lua
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
-- Dooku.nivm plugin options.
local M = {}
local is_windows = package.config:sub(1, 1) == "\\"
local is_windows = vim.fn.has('win32') == 1
local utils = require "dooku.utils"

---Returns a default value if opt is nil.
Expand Down Expand Up @@ -152,7 +152,7 @@ function M.set(opts)
M.rustdoc_html_file = opts.rustdoc_html_file or "index.html"

-- Command to run rustdoc
M.rustdoc_cmd = opts.rustdoc_cmd or "cargo rustdoc"
M.rustdoc_cmd = opts.rustdoc_cmd or "cargo doc"

-- [GODOC]
---------------------------------------------------------------
Expand Down

0 comments on commit c1a6b9a

Please sign in to comment.