mirror of
https://github.com/prurigro/darkcloud-nvimconfig.git
synced 2024-11-21 19:32:31 -05:00
Use common style for lua require and setup calls
This commit is contained in:
parent
7b3909f45c
commit
01b4f6685d
4 changed files with 6 additions and 6 deletions
|
@ -1,2 +1,2 @@
|
|||
require("ts_context_commentstring").setup {}
|
||||
require("ts_context_commentstring").setup()
|
||||
require("Comment").setup()
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
require("nvim-surround").setup {
|
||||
require("nvim-surround").setup({
|
||||
move_cursor = false
|
||||
}
|
||||
})
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue