repositories / dotfiles

dotfiles

bugabingas dorkfiles

owned by bugabinga

adds `--ff` to topgrade git step

52eb5b008d200924c755e4d06d4f96cb02770e13

Oliver Krylow <o.krylow@isp-insoft.de> ·

unsigned

Browse filesCompare with HEAD

Changed files (4)

neovim/lua/lsp.lua

Modified
178 - -- Markdown Notes (Zettelkasten) LSP
179 - lsp.zeta_note.setup {
180 - on_attach = integrate_into_neovim,
181 - capabilites = capabilities,
182 - cmd = { 'zeta-note' },
183 - }
185 - -- YAML LSP
186 - lsp.yamlls.setup {
187 - on_attach = integrate_into_neovim,
188 - capabilites = capabilities,
189 - --FIXME: Only works on Windows
190 - cmd = { 'yaml-language-server.cmd', '--stdio' },
191 - root_dir = function()
192 - return vim.fn.getcwd()
193 - end,
194 - }
196 178 -- Zig LSP
197 179 -- FIXME: ZLS is very tied to the specific version of the zig compiler one uses.
198 180 -- we need to build our own version for 0.8.0 because it is not done upstream yet
214 196 capabilities = capabilities,
217 - -- JSON LSP
218 - lsp.jsonls.setup {
219 - on_attach = integrate_into_neovim,
220 - capabilites = capabilities,
221 - --FIXME: Only works on Windows
222 - cmd = { 'vscode-json-language-server.cmd', '--stdio' },
223 - commands = {
224 - Format = {
225 - -- Apply the ranged formatting to the whole file
226 - function()
227 - vim.lsp.buf.range_formatting({}, { 0, 0 }, { vim.fn.line '$', 0 })
228 - end,
229 - },
230 - },
231 - }
233 199 -- GraphViz Dot LSP
234 200 lsp.dotls.setup {
235 201 on_attach = integrate_into_neovim,

neovim/lua/statusline.lua

Modified
1 1 local branch_icon = ''
2 -local vcs_branch_name = ''
2 +local vcs_branch_name = nil
3 3 local code_actions_count = 0
4 4 local special_windows = {
5 5 intro = { 'CheatSheet', '' },
63 63 local result = output:result()[1]
64 64 if result then
65 65 vcs_branch_name = result
66 + else
67 + vcs_branch_name = nil

topgrade/topgrade.linux.toml

Modified
21 21 pull_predefined= false
23 23 # Arguments to pass Git when pulling Repositories
24 -arguments = "--rebase --autostash"
24 +arguments = "--ff --rebase --autostash"
26 26 # Commands to run before anything
27 27 #[pre_commands]

topgrade/topgrade.windows.toml

Modified
21 21 pull_predefined= false
23 23 # Arguments to pass Git when pulling Repositories
24 -arguments = "--rebase --autostash"
24 +arguments = "--ff --rebase --autostash"
26 26 # Commands to run before anything
27 27 #[pre_commands]