diff --git a/lua/config/alpha-nvim.lua b/lua/config/alpha-nvim.lua index 6718f41..84373df 100644 --- a/lua/config/alpha-nvim.lua +++ b/lua/config/alpha-nvim.lua @@ -89,7 +89,7 @@ local buttons = { dashboard.button('q', '󰤆 Quit', 'qa'), } -if vim.loop.os_gethostname() == 'ccflow' then +if vim.loop.os_gethostname() == 'slaptop' then table.insert(buttons, 1, dashboard.button('d', ' Diary Entry', 'Diary')) end diff --git a/lua/lsp.lua b/lua/lsp.lua index b1e7f2a..7efe505 100644 --- a/lua/lsp.lua +++ b/lua/lsp.lua @@ -19,7 +19,7 @@ vim.api.nvim_create_autocmd('LspAttach', { vim.keymap.set("n", 'F', ":silent !dx fmt --file %", { desc = "DX format rsx! regions", unpack(bufopts) }) vim.keymap.set("v", "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', 'd', fzf.diagnostics_document, { desc = "Document diagnostics" }) vim.keymap.set('n', '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 diff --git a/lua/options.lua b/lua/options.lua index a5312e7..914b163 100644 --- a/lua/options.lua +++ b/lua/options.lua @@ -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, diff --git a/snippets/all.snippets b/snippets/all.snippets index 70069e5..e80f12f 100644 --- a/snippets/all.snippets +++ b/snippets/all.snippets @@ -1,4 +1,4 @@ -# ccflow local snippets for all modes +# slaptop local snippets for all modes snippet todo "Add a TODO marker" // TODO.`strftime("%Y-%m-%d -")`