ccflow -> slaptop

This commit is contained in:
Sascha Lüdecke
2026-07-30 13:18:59 +02:00
parent 00cbb851ec
commit bd8f338b4a
4 changed files with 6 additions and 6 deletions

View File

@@ -89,7 +89,7 @@ local buttons = {
dashboard.button('q', '󰤆 Quit', '<cmd>qa<CR>'),
}
if vim.loop.os_gethostname() == 'ccflow' then
if vim.loop.os_gethostname() == 'slaptop' then
table.insert(buttons, 1,
dashboard.button('d', ' Diary Entry', '<cmd>Diary<CR>'))
end

View File

@@ -19,7 +19,7 @@ vim.api.nvim_create_autocmd('LspAttach', {
vim.keymap.set("n", '<space>F', ":silent !dx fmt --file %<cr>", { desc = "DX format rsx! regions", unpack(bufopts) })
vim.keymap.set("v", "<space>f", LSPRangeFormatFunction, { desc = "LSP Format region" })
-- 2024-09-09 - some ccflow commands for diagnostics, symbols and code actions
-- 2024-09-09 - some slaptop commands for diagnostics, symbols and code actions
local fzf = require('fzf-lua')
vim.keymap.set('n', '<space>d', fzf.diagnostics_document, { desc = "Document diagnostics" })
vim.keymap.set('n', '<space>D', fzf.diagnostics_workspace, { desc = "Workspace diagnostics" })
@@ -67,7 +67,7 @@ function LSPRangeFormatFunction()
end
local enable_this_lsp = {}
if vim.loop.os_gethostname() == 'ccflow' then
if vim.loop.os_gethostname() == 'slaptop' then
-- VUE and Typescript as of vue-language-server 3.0.x
-- taken from:
-- https://github.com/neovim/nvim-lspconfig/blob/master/doc/configs.md#vtsls

View File

@@ -5,10 +5,10 @@
---------------------------------------------------
-- this is specific for a machine
if vim.loop.os_gethostname() == 'ccflow' then
if vim.loop.os_gethostname() == 'slaptop' then
_G.ORG_BASE_FOLDER = '~/Documents/Eigene (Briefe etc.)/org'
else
_G.ORG_BASE_FOLDER = '~/OneDrive - Stadt Rosenheim/Desktop/orgfiles'
_G.ORG_BASE_FOLDER = '~/OneDrive/Desktop/orgfiles'
end
sl_opt = {
org_base_folder = ORG_BASE_FOLDER,