LazyVim.LazyVim/lua/lazyvim/plugins/extras
Slava Markevich c13215814c
fix(elixir): fix credo detection for elixir linters. (#3809)
## What is this PR for?
Fix detection of elixir `credo` linter. 

`vim.fn.executable("credo") == 0` will never succeed because `credo` is
not binary/executable. It is a `mix` package and only available via `mix
credo` command.

Instead, the plugins(both `none-ls` and `nvim-lint`) will check for the
presence of the `.credo.exs` file.

<!-- Describe the big picture of your changes to communicate to the
maintainers
  why we should accept this pull request. -->

## Does this PR fix an existing issue?
Fixes #3808 
<!--
  If this PR fixes any issues, please link to the issue here.
  Fixes #<issue_number>
-->

## Checklist
- [x] Both linters display credo warnings if `credo` is installed and
the `.credo.exs` config exists in a project.
- [x] There are no errors if the `.credo.exs` file does not exist in the
project.
- [x] I've read the
[CONTRIBUTING](https://github.com/LazyVim/LazyVim/blob/main/CONTRIBUTING.md)
guidelines.
2024-06-25 21:04:32 +02:00
..
coding feat(copilot-chat): ctrl-s now works in both normal and insert mode 2024-06-16 20:17:16 +02:00
dap fix(dap): only load mason-nvim-dap when not disabled (#3784) 2024-06-23 20:04:51 +02:00
editor fix(fzf): disable preview for vtsls (#3798) 2024-06-24 22:11:32 +02:00
formatting fix(prettier): fixup 2024-06-07 23:24:01 +02:00
lang fix(elixir): fix credo detection for elixir linters. (#3809) 2024-06-25 21:04:32 +02:00
linting feat: use LazyVim everywhere instead of require("lazyvim.util") 2024-03-22 09:15:09 +01:00
lsp feat: moved neoconf.nvim to extras 2024-06-02 09:05:16 +02:00
test feat(go): switch to neotest-golang (#3749) 2024-06-23 07:01:22 +02:00
ui refactor(extras.ui): simplify neo-tree related logic in edgy extra (#3738) 2024-06-23 07:08:41 +02:00
util fix(noice): dont show old messages when installing plugins 2024-06-25 00:24:38 +02:00
vscode.lua feat(vscode): added ts-comments to allow list for vscode 2024-05-29 18:22:54 +02:00