view dot_config/nvim/lua/efm/lua.lua @ 395:3f2b7b399dee

Disable slow flake8 for now
author zegervdv <zegervdv@me.com>
date Mon, 14 Jun 2021 18:38:01 +0200
parents 2a8195e14cad
children
line wrap: on
line source

local languages = require 'efm/languages'

languages.lua = {}

if (vim.fn.executable('lua-format') == 1) then
  table.insert(languages.lua, {
    formatCommand = "lua-format -c ~/.config/lua-format/conf.yml",
    formatStdin = true
  })
end