From 17253c11c1af9f1290f57ca76f33482039ea2b1b Mon Sep 17 00:00:00 2001 From: Practicalli Engineering Date: Thu, 16 Jan 2025 21:44:21 +0000 Subject: [PATCH] post: journal entry week starting 13 January 2025 --- docs/posts/2025/january/13.md | 54 +++++++++++++++++++++++++++++++++++ 1 file changed, 54 insertions(+) create mode 100644 docs/posts/2025/january/13.md diff --git a/docs/posts/2025/january/13.md b/docs/posts/2025/january/13.md new file mode 100644 index 00000000..0c3f9a74 --- /dev/null +++ b/docs/posts/2025/january/13.md @@ -0,0 +1,54 @@ +--- +title: Coming back to life +date: 2025-01-13 +authors: + - practicalli +categories: + - practicalli +tags: + - clojure +--- + +The goals for ths month include + +- documenting Neovim & Conjure workflow +- meaningful exercise every day +- bicycle ride (weather permitting) + +My health took more of a knock this week as I am finding it very difficult to walk. I've had pain in my right hip for a couple of weeks and on Friday I started walking and felt a sharp pain. Every step with my right leg is painful and going up and down stairs is particularly painful. + +The hip pain coupled with my left knee pain is significantly limiting my ability to exercise. + + + + +## Neovim + +LSP Renaming of namespaces and filenames is the only feature I do not have working with Clojure LSP and Neovim. nvim-lspconfig supports Clojure but reports the following error when trying to rename a namespace name. + +```shell +Error on prepareRename: Can't rename - client does not support file renames. +``` + +The nvim-lsp-file-operations plugin was used but with no success as yet (not sure why). + + +### clojure-lsp command line + +`clojure-lsp` is available on the command line path, so a command like this will change the namespace and the namespaces corresponding file name. + +!!! NOTE "Clojure LSP rename namespace via command line" + ```shell + clojure-lsp rename --from gameboard.gameboard.api.scoreboard --to practicalli.gameboard.api.scores + ``` + +--- +Thank you. + +[:globe_with_meridians: Practical.li Website](https://practical.li){target=_blank .md-button} + +[:fontawesome-brands-github: Practical.li GitHub Org](https://github.com/practicalli){target=_blank .md-button} +[:fontawesome-brands-github: practicalli-johnny profile](https://github.com/practicalli-johnny){target=_blank .md-button} + +[:fontawesome-brands-mastodon: @practicalli@clj.social](https://clj.social/@practicalli){target=_blank .md-button} +[:fontawesome-brands-twitter: @practical_li](https://twitter.com/practcial_li){target=_blank .md-button}