Skip to content

Commit

Permalink
feat(projects):added function to clear out neovim's project table.
Browse files Browse the repository at this point in the history
  • Loading branch information
Will Ehrendreich authored and Will Ehrendreich committed Oct 27, 2023
1 parent a389a56 commit 6c208ac
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions lua/ionide/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -575,6 +575,12 @@ local function parse_string(input_string)
return input_string, "", M.DocumentationForSymbolRequest("NoProperSigGiven", "NoProperAssemblyGiven"), ""
end

---Resets the project folders and Projects tables to empty
function M.ClearLocalIonideProjectsCollection()
M.Projects = {}
M.projectFolders ={}
end

function M.ParseAndReformatShowDocumentationFromHoverResponseContentLines(input, contents)
-- -- value = string.gsub(value, "\r\n?", "\n")
-- local thisIonide = vim.lsp.get_active_clients({ name = "ionide" })[1]
Expand Down

0 comments on commit 6c208ac

Please sign in to comment.