LazyVim.LazyVim/lua/lazyvim/plugins
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
..
compat fix(extras): better reasons as to why some extras are included in your config. 2024-06-14 11:14:00 +02:00
extras fix(elixir): fix credo detection for elixir linters. (#3809) 2024-06-25 21:04:32 +02:00
lsp refactor: LazyVim.config 2024-06-16 15:35:38 +02:00
coding.lua fix(snippets): nvim-snippets <S-Tab> prev key (#3712) 2024-06-18 07:15:24 +02:00
colorscheme.lua feat(catppuccin): enable more integrations (#1922) 2023-11-04 11:09:01 +01:00
editor.lua feat(gitsigns): navigate diff changes as well as git hunks with [h/]h (#3736) 2024-06-23 07:13:51 +02:00
formatting.lua fix(conform): lsp_format breaking changes (#3707) 2024-06-17 19:49:30 +02:00
init.lua refactor: config = true >> opts = {} 2024-06-11 00:06:56 +02:00
linting.lua feat(lint): added support for prepend_args to nvim-lint. Fixes #1887 2024-06-05 23:02:19 +02:00
treesitter.lua feat(treesitter-textobjects): added ]a and [a to move between parameters 2024-06-16 19:18:32 +02:00
ui.lua fix(dashboard): load dashboard when closing lazy if needed 2024-06-25 00:24:59 +02:00
util.lua feat(util)!: move vim-startuptime to an extra 2024-05-16 21:25:51 +02:00
xtras.lua refactor: LazyVim.config 2024-06-16 15:35:38 +02:00