From e9a3f8602d921709c313148a318603b28741946a Mon Sep 17 00:00:00 2001 From: Practicalli Engineering Date: Fri, 17 Jan 2025 23:40:41 +0000 Subject: [PATCH] post: journal entry week starting 13 January 2025 --- docs/posts/2025/january/13.md | 59 +++++++++++++++++++++++++++++++++++ 1 file changed, 59 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..cde14998 --- /dev/null +++ b/docs/posts/2025/january/13.md @@ -0,0 +1,59 @@ +--- +title: An increase in pain +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 significantly limiting my ability to exercise this week. + +Movies this week: + +- [Death on the Nile 1978](https://en.wikipedia.org/wiki/Death_on_the_Nile_(1978_film)) with Peter Ustinov as Hercule Poirot, including an all-star cast from the time including David Niven, Angela Landsbury and Betty Davis. + + + + + +## 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}