added some efm linter
This commit is contained in:
parent
02182b7711
commit
7548554a89
@ -117,13 +117,15 @@ return {
|
||||
automatic_installation = false,
|
||||
ensure_installed = {
|
||||
'clangd',
|
||||
'denols',
|
||||
'basedpyright',
|
||||
-- 'neocmake',
|
||||
-- 'pyright',
|
||||
-- 'zk', -- No support for windows
|
||||
'efm',
|
||||
'lua_ls',
|
||||
'jsonls',
|
||||
-- 'groovyls', -- Doesn't work in WSL
|
||||
'markdown_oxide',
|
||||
'black',
|
||||
'flake8',
|
||||
'cmakelang',
|
||||
},
|
||||
})
|
||||
local lspconfig = require('lspconfig')
|
||||
@ -298,11 +300,13 @@ return {
|
||||
local gersemi = require('efmls-configs.formatters.gersemi')
|
||||
local black = require('efmls-configs.formatters.black')
|
||||
local isort = require('efmls-configs.formatters.isort')
|
||||
local cmake_lint = require('efmls-configs.linters.cmake_lint')
|
||||
local flake8 = require('efmls-configs.linters.flake8')
|
||||
local languages = {
|
||||
lua = { stylua },
|
||||
markdown = { prettier },
|
||||
cmake = { gersemi },
|
||||
python = { isort, black },
|
||||
cmake = { gersemi, cmake_lint },
|
||||
python = { isort, black, flake8 },
|
||||
}
|
||||
|
||||
local efmls_config = {
|
||||
|
Loading…
x
Reference in New Issue
Block a user