style: be more consistent with lua formatting
This commit is contained in:
parent
dedcbddc86
commit
18a5b3b627
|
@ -1,4 +1,4 @@
|
||||||
local cmp = require 'cmp'
|
local cmp = require "cmp"
|
||||||
|
|
||||||
cmp.setup {
|
cmp.setup {
|
||||||
mapping = {
|
mapping = {
|
||||||
|
@ -12,17 +12,17 @@ cmp.setup {
|
||||||
},
|
},
|
||||||
|
|
||||||
sources = {
|
sources = {
|
||||||
{ name = 'buffer', priority = 2, keyword_length = 5, max_item_count = 5 },
|
{ name = "buffer", priority = 2, keyword_length = 5, max_item_count = 5 },
|
||||||
{ name = 'calc' },
|
{ name = "calc" },
|
||||||
{ name = 'path' },
|
{ name = "path" },
|
||||||
{ name = 'spell' },
|
{ name = "spell" },
|
||||||
{ name = 'treesitter' },
|
{ name = "treesitter" },
|
||||||
|
|
||||||
-- Neovim
|
-- Neovim
|
||||||
{ name = 'nvim_lsp', priority = 10 },
|
{ name = "nvim_lsp", priority = 10 },
|
||||||
{ name = 'nvim_lua' },
|
{ name = "nvim_lua" },
|
||||||
|
|
||||||
-- Plugins
|
-- Plugins
|
||||||
{ name = 'cmp_tabnine' },
|
{ name = "cmp_tabnine" },
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
local configs = require'nvim-treesitter.configs'
|
local configs = require "nvim-treesitter.configs"
|
||||||
|
|
||||||
configs.setup {
|
configs.setup {
|
||||||
context_commenting = {
|
context_commenting = {
|
||||||
|
|
Loading…
Reference in a new issue