diff --git a/bin/install.sh b/bin/install.sh index 90626e9..4da1d01 100755 --- a/bin/install.sh +++ b/bin/install.sh @@ -45,7 +45,6 @@ ln -sf $(pwd)/dotfiles/neovim/luasnippets/satysfi/math.lua ~/.config/nvim/luasni mkdir -p ~/.julia/config ln -sf $(pwd)/dotfiles/startup_linux.jl ~/.julia/config/startup.jl -curl -o ~/.julia/config/catppuccin.jl https://raw.githubusercontent.com/catppuccin/ohmyrepl/refs/heads/main/catppuccin.jl mkdir -p ~/.config/lf ln -sf $(pwd)/dotfiles/lf/lfrc ~/.config/lf/lfrc diff --git a/dotfiles/neovim/after/queries/julia/injections.scm b/dotfiles/neovim/after/queries/julia/injections.scm index efc8930..964cc3b 100644 --- a/dotfiles/neovim/after/queries/julia/injections.scm +++ b/dotfiles/neovim/after/queries/julia/injections.scm @@ -1,7 +1,46 @@ ;; extends -(prefixed_string_literal - prefix: (identifier) @_prefix - (content) @injection.content - (#eq? @_prefix "sql") - (#set! injection.language "sql")) +((prefixed_string_literal + prefix: (identifier) @_prefix) @injection.content + (#eq? @_prefix "md") + (#set! injection.language "markdown") + (#offset! @injection.content 0 2 0 -1)) + +; ((prefixed_string_literal +; prefix: (identifier) @_prefix) @injection.content +; (#eq? @_prefix "sql") +; (#set! injection.language "sql") +; (#offset! @injection.content 0 4 0 -1)) +; +; ((prefixed_string_literal +; prefix: (identifier) @_prefix) @injection.content +; (#eq? @_prefix "s") +; (#set! injection.language "sql") +; (#offset! @injection.content 0 3 0 -1)) +; +; ((prefixed_string_literal +; prefix: (identifier) @_prefix) @injection.content +; (#eq? @_prefix "t") +; (#set! injection.language "regex") +; (#offset! @injection.content 0 2 0 -1)) +; +; ((prefixed_string_literal +; prefix: (identifier) @_prefix) @injection.content +; (#eq? @_prefix "ts") +; (#set! injection.language "regex") +; (#offset! @injection.content 0 2 0 -1)) +; +; ((prefixed_string_literal +; prefix: (identifier) @_prefix) @injection.content +; (#eq? @_prefix "tu") +; (#set! injection.language "regex") +; (#offset! @injection.content 0 3 0 -1)) +; +; ((prefixed_string_literal +; prefix: (identifier) @_prefix) @injection.content +; (#eq? @_prefix "sql") +; ; (#offset! @injection.content 0 2 0 -1) +; ; (#offset! @injection.content 0 6 0 -3) +; (#gsub! @injection.content "^\"%\"" "%1") +; (#set! injection.language "sql") +; ) diff --git a/dotfiles/neovim/init.lua b/dotfiles/neovim/init.lua index e4f7b46..4d9e226 100644 --- a/dotfiles/neovim/init.lua +++ b/dotfiles/neovim/init.lua @@ -493,7 +493,6 @@ vim.keymap.set('n', 'fd', builtin.lsp_document_symbols, { desc = "lsp do vim.keymap.set('n', 'flr', builtin.lsp_references, { desc = "lsp references for word" }) vim.keymap.set('n', 'fli', builtin.lsp_incoming_calls, { desc = "lsp incoming calls" }) vim.keymap.set('n', 'flo', builtin.lsp_outgoing_calls, { desc = "lsp outgoing calls" }) -vim.keymap.set('n', 'fll', builtin.lsp_implementations, { desc = "lsp implementations" }) vim.keymap.set('n', 'fb', builtin.buffers, { desc = "buffers" }) vim.keymap.set('n', 'fg', builtin.live_grep, { desc = "grep" }) vim.keymap.set('n', 'fh', builtin.help_tags, { desc = "help tags" })