Skip to content
This repository was archived by the owner on Jan 21, 2026. It is now read-only.
This repository was archived by the owner on Jan 21, 2026. It is now read-only.

plugin: astrolsp fle_operations #24

@practicalli-johnny

Description

@practicalli-johnny

In an attempt to get namespace & filename refactor working with LSP, configure AstroNvim/astrolsp plugin with specific file_operations (in theory this should not be needed)

Following the AstroNvim Advanced LSP configuration page and AstroNvim/astrolsp config and AstroNvim/astrolsp readme - lsp-file-operations

Config tried so far (unsucessfully)

 {
   "AstroNvim/astrolsp",
   ---@type AstroLSPOpts
   opts = {
     -- servers = { "clojure_lsp" }, -- use locally installed Clojure LSP server
     file_operations = {
       timeout = 10000, -- default timeout in ms for completing LSP operations
       operations = { -- enable all of the file operations
         willCreate = true,
         didCreate = true,
         willRename = true,
         prepareRename = true,
         didRename = true,
         willDelete = true,
         didDelete = true,
       },
     },
   },
 },

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions