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

View file

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