ccflow -> slaptop
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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,
|
||||
|
||||
@@ -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 -")`
|
||||
|
||||
Reference in New Issue
Block a user