Thanks to visit codestin.com
Credit goes to github.com

Skip to content

[BUG] Buffer is not 'modifiable' #366

@maxfornacon

Description

@maxfornacon

Is there an existing issue for this?

  • I have searched the existing issues

Current Behavior

When I try to run :FlutterRun after a while this error appears:

Error executing vim.schedule lua callback: ...e/nvim/lazy/flutter-tools.nvim/lua/flutter-tools/log.lua:79: Buffer is not 'mo
difiable'
stack traceback:
        [C]: in function 'nvim_buf_set_lines'
        ...e/nvim/lazy/flutter-tools.nvim/lua/flutter-tools/log.lua:79: in function 'append'
        ...e/nvim/lazy/flutter-tools.nvim/lua/flutter-tools/log.lua:90: in function 'log'
        ...m/lazy/flutter-tools.nvim/lua/flutter-tools/commands.lua:70: in function 'on_run_data'
        ...tter-tools.nvim/lua/flutter-tools/runners/job_runner.lua:33: in function ''
        vim/_editor.lua: in function <vim/_editor.lua:0>

Expected Behavior

Run the flutter application

Steps To Reproduce

  1. open project
  2. run :FlutterRun

Environment

- OS: macOS
- Flutter version: 3.19
- Is flutter in $PATH: yes
- neovim version: v0.10.0

Anything else?

No response

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