mirror of
https://github.com/LunarVim/LunarVim.git
synced 2025-08-03 09:35:26 +02:00
already namespaced, will also move these to a dir called language
This commit is contained in:
parent
2d65ffcff2
commit
f87e85a032
2 changed files with 4 additions and 6 deletions
|
@ -1,4 +1,4 @@
|
||||||
require("lsp.python-ls").format()
|
require("lsp.python").format()
|
||||||
require("lsp.python-ls").lint()
|
require("lsp.python").lint()
|
||||||
require("lsp.python-ls").lsp()
|
require("lsp.python").lsp()
|
||||||
require("lsp.python-ls").dap()
|
require("lsp.python").dap()
|
||||||
|
|
|
@ -23,7 +23,6 @@ M.lint = function()
|
||||||
end
|
end
|
||||||
local python_arguments = {}
|
local python_arguments = {}
|
||||||
|
|
||||||
-- TODO: replace with path argument
|
|
||||||
local flake8 = {
|
local flake8 = {
|
||||||
LintCommand = "flake8 --ignore=E501 --stdin-display-name ${INPUT} -",
|
LintCommand = "flake8 --ignore=E501 --stdin-display-name ${INPUT} -",
|
||||||
lintStdin = true,
|
lintStdin = true,
|
||||||
|
@ -42,7 +41,6 @@ M.lint = function()
|
||||||
|
|
||||||
if not require("lv-utils").check_lsp_client_active "efm" then
|
if not require("lv-utils").check_lsp_client_active "efm" then
|
||||||
require("lspconfig").efm.setup {
|
require("lspconfig").efm.setup {
|
||||||
-- init_options = {initializationOptions},
|
|
||||||
cmd = { DATA_PATH .. "/lspinstall/efm/efm-langserver" },
|
cmd = { DATA_PATH .. "/lspinstall/efm/efm-langserver" },
|
||||||
init_options = { documentFormatting = true, codeAction = false },
|
init_options = { documentFormatting = true, codeAction = false },
|
||||||
root_dir = require("lspconfig").util.root_pattern(".git/", "requirements.txt"),
|
root_dir = require("lspconfig").util.root_pattern(".git/", "requirements.txt"),
|
Loading…
Add table
Add a link
Reference in a new issue