Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Experimental #1149

Closed
wants to merge 7 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 1 addition & 3 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,2 @@
tags
test.sh
.luarc.json
lazy-lock.json
nvim
6 changes: 3 additions & 3 deletions .stylua.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
column_width = 160
column_width = 80
line_endings = "Unix"
indent_type = "Spaces"
indent_width = 2
quote_style = "AutoPreferSingle"
call_parentheses = "None"
quote_style = "AutoPreferDouble"
call_parentheses = "Always"
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
# kickstart.nvim
My personal fork of kickstart.nvim.
Might contain reordering of folders, changes in documents, and so on.

# Standard kickstart.nvim README
https://github.com/kdheepak/kickstart.nvim/assets/1813121/f3ff9a2b-c31f-44df-a4fa-8a0d7b17cf7b

### Introduction
Expand Down
1 change: 1 addition & 0 deletions after/ftplugin/c.lua
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
vim.opt.shiftwidth = 2
1 change: 1 addition & 0 deletions after/ftplugin/lua.lua
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
vim.opt.shiftwidth = 2
11 changes: 11 additions & 0 deletions after/ftplugin/markdown.lua
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
vim.opt.breakindentopt = "shift:2"
vim.opt.shiftwidth = 4
vim.opt.textwidth = 0

vim.cmd [[
function! MyFormatExpr(start, end)
silent execute a:start.','.a:end.'s/[.!?]\zs /\r/g'
endfunction

set formatexpr=MyFormatExpr(v:lnum,v:lnum+v:count-1)
]]
14 changes: 14 additions & 0 deletions after/ftplugin/tex.lua
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
-- vim.opt.breakindentopt = "shift:2"
-- Replacement for this: vim.opt.showbreak = "↪ "
vim.opt.shiftwidth = 2
vim.opt.softtabstop = 2
vim.opt.tabstop = 2
vim.opt.textwidth = 0

vim.cmd([[
function! MyFormatExpr(start, end)
silent execute a:start.','.a:end.'s/[.!?]\zs /\r/g'
endfunction

set formatexpr=MyFormatExpr(v:lnum,v:lnum+v:count-1)
]])
Loading
Loading