Skip to content

Commit

Permalink
chore: styling
Browse files Browse the repository at this point in the history
  • Loading branch information
rcarriga committed Apr 28, 2024
1 parent fdae6bd commit e975311
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion lua/neotest/consumers/diagnostic.lua
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,9 @@ local function init(client)
logger.debug("Setting diagnostics for", self.file_path, diagnostics)

vim.schedule(function()
if not vim.api.nvim_buf_is_valid(self.bufnr) then return end
if not vim.api.nvim_buf_is_valid(self.bufnr) then
return
end
diag.set(diag_namespace, self.bufnr, diagnostics)
end)
end
Expand Down
2 changes: 1 addition & 1 deletion scripts/style
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
#!/bin/bash
#!/bin/sh

stylua lua tests

0 comments on commit e975311

Please sign in to comment.