We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a7be8d3 commit 6fc18e3Copy full SHA for 6fc18e3
1 file changed
lua/python/state/init.lua
@@ -32,13 +32,14 @@ Should look like this
32
}
33
34
35
-]] --
+]]
36
+--
37
---@class PythonState
38
---@field venvs table<string, PythonStateVEnv>
39
---@field dap table<string, dap.Configuration>
40
PythonState = PythonState or {
41
venvs = {},
- dap = {}
42
+ dap = {},
43
44
45
local data_path = vim.fn.stdpath("data")
@@ -98,7 +99,7 @@ end
98
99
---@param new_state PythonState
100
function PythonStateM.save(new_state)
101
local result_state = merge_tables(PythonState, new_state)
- vim.fn.writefile({vim.json.encode(result_state)}, state_path, "s")
102
+ vim.fn.writefile({ vim.json.encode(result_state) }, state_path, "s")
103
end
104
105
return PythonStateM
0 commit comments