Skip to content
This repository has been archived by the owner on Nov 13, 2024. It is now read-only.

Commit

Permalink
Initial Scaffolding
Browse files Browse the repository at this point in the history
  • Loading branch information
ziontee113 committed Feb 15, 2023
0 parents commit 668589f
Show file tree
Hide file tree
Showing 6 changed files with 47 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Session*.vim
3 changes: 3 additions & 0 deletions lua/CottonCandy/init.lua
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
local M = {}

return M
Empty file.
7 changes: 7 additions & 0 deletions stylua.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
column_width = 100
line_endings = "Unix"
indent_type = "Spaces"
indent_width = 4
quote_style = "AutoPreferDouble"
call_parentheses = "Always"
collapse_simple_statement = "Never"
Empty file.
36 changes: 36 additions & 0 deletions tests/minimal_init.lua
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
local plenary_dir = os.getenv("PLENARY_DIR")
or "/home/ziontee113/.local/share/nvim/lazy/plenary.nvim/"

local is_not_a_directory = vim.fn.isdirectory(plenary_dir) == 0
if is_not_a_directory then
vim.fn.system({
"git",
"clone",
"https://github.com/nvim-lua/plenary.nvim",
plenary_dir,
})
end

vim.opt.rtp:append(".")
vim.opt.rtp:append(plenary_dir)
require("plenary.busted")

-->

local treesitter_dir = "~/.local/share/nvim/lazy/nvim-treesitter"
vim.opt.rtp:append(treesitter_dir)

-->

vim.o.splitright = true

vim.o.tabstop = 4
vim.o.softtabstop = 0
vim.o.shiftwidth = 2
vim.o.smarttab = true
vim.o.expandtab = true

vim.o.swapfile = false
vim.bo.swapfile = false

require("nvim-treesitter.query_predicates")

0 comments on commit 668589f

Please sign in to comment.