Skip to content

Commit

Permalink
Use non-deprecated checkhealth syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
dundargoc committed Jan 6, 2024
1 parent cbf6253 commit 5be254c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 7 deletions.
3 changes: 0 additions & 3 deletions autoload/health/dap-go.vim

This file was deleted.

8 changes: 4 additions & 4 deletions lua/dap-go/health.lua
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
local fn = vim.fn
local is_win = vim.api.nvim_call_function('has', { 'win32' }) == 1

local health_start = vim.fn['health#report_start']
local health_ok = vim.fn['health#report_ok']
local health_warn = vim.fn['health#report_warn']
local health_error = vim.fn['health#report_error']
local health_start = vim.health.start
local health_ok = vim.health.ok
local health_warn = vim.health.warn
local health_error = vim.health.error

local dependencies = {
{
Expand Down

0 comments on commit 5be254c

Please sign in to comment.