Use common style for lua require and setup calls

This commit is contained in:
Kevin MacMartin 2024-03-05 13:32:39 -05:00
parent 7b3909f45c
commit 01b4f6685d
4 changed files with 6 additions and 6 deletions

View file

@ -1,2 +1,2 @@
require("ts_context_commentstring").setup {}
require("ts_context_commentstring").setup()
require("Comment").setup()

View file

@ -1,6 +1,6 @@
if (vim.g.enablecompletion == 1) then
local snippy = require("snippy")
local cmp = require"cmp"
local cmp = require("cmp")
local has_words_before = function()
unpack = unpack or table.unpack

View file

@ -1,3 +1,3 @@
require("nvim-surround").setup {
require("nvim-surround").setup({
move_cursor = false
}
})

View file

@ -9,7 +9,7 @@ if (vim.g.enabletreesitter == 1) then
vim.opt.runtimepath:append(parser_dir)
require("nvim-treesitter.configs").setup {
require("nvim-treesitter.configs").setup({
ensure_installed = { "bash", "c", "cpp", "git_config", "html", "java", "javascript", "json", "lua", "php", "python", "query", "rust", "toml", "typescript", "vim", "vue" },
sync_install = false,
auto_install = false,
@ -71,5 +71,5 @@ if (vim.g.enabletreesitter == 1) then
},
},
},
}
})
end