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 {
|
||||
mapping = {
|
||||
|
@ -12,17 +12,17 @@ cmp.setup {
|
|||
},
|
||||
|
||||
sources = {
|
||||
{ name = 'buffer', priority = 2, keyword_length = 5, max_item_count = 5 },
|
||||
{ name = 'calc' },
|
||||
{ name = 'path' },
|
||||
{ name = 'spell' },
|
||||
{ name = 'treesitter' },
|
||||
{ name = "buffer", priority = 2, keyword_length = 5, max_item_count = 5 },
|
||||
{ name = "calc" },
|
||||
{ name = "path" },
|
||||
{ name = "spell" },
|
||||
{ name = "treesitter" },
|
||||
|
||||
-- Neovim
|
||||
{ name = 'nvim_lsp', priority = 10 },
|
||||
{ name = 'nvim_lua' },
|
||||
{ name = "nvim_lsp", priority = 10 },
|
||||
{ name = "nvim_lua" },
|
||||
|
||||
-- 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 {
|
||||
context_commenting = {
|
||||
|
|
Loading…
Reference in a new issue