Add efm-language server formatting for protobuf

This commit is contained in:
Daniel Lundin 2022-01-13 16:12:59 +01:00
parent 06aa19b4f4
commit 4540b8a334
2 changed files with 24 additions and 0 deletions

View file

@ -0,0 +1,14 @@
version: 2
root-markers:
- .git/
tools:
clang-format: &clang-format
format-command: 'clang-format -style="{BasedOnStyle: Google, IndentWidth: 2, AlignConsecutiveDeclarations: true, AlignConsecutiveAssignments: true, ColumnLimit: 0}"'
format-stdin: true
languages:
proto:
- <<: *clang-format

View file

@ -236,6 +236,16 @@ return require('packer').startup(function()
end
}
use {
'mattn/efm-langserver',
config = function()
require "lspconfig".efm.setup {
init_options = {documentFormatting = true},
}
end
}
use {
"ray-x/go.nvim",
config = function()