style: be more consistent with lua formatting

This commit is contained in:
Oliver Davies 2021-10-13 21:00:31 +01:00
parent dedcbddc86
commit 18a5b3b627
2 changed files with 10 additions and 10 deletions

View file

@ -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" },
}, },
} }

View file

@ -1,4 +1,4 @@
local configs = require'nvim-treesitter.configs' local configs = require "nvim-treesitter.configs"
configs.setup { configs.setup {
context_commenting = { context_commenting = {