Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: vladdoster/remember.nvim
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v1.4.1
Choose a base ref
...
head repository: vladdoster/remember.nvim
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v1.5.0
Choose a head ref
  • 6 commits
  • 12 files changed
  • 3 contributors

Commits on Jun 11, 2024

  1. fix: exclude dap-repl filetype

    When using nvim-dap-ui, remember throws the following error when evoking `require("dapui").toggle()`:
    
    ```
       Error  00:53:17 msg_show.lua_error E5108: Error executing lua ...share/nvim/lazy/nvim-dap-ui/lua/dapui/windows/layout.lua:35: BufWinEnter Autocommands for "*": Vim(append):Error executing lua callback: Vim:E944: Reverse range in character class
    stack traceback:
    	[C]: in function 'glob'
    	...me/.local/share/nvim/lazy/remember.nvim/lua/remember.lua:59: in function 'set_cursor_position'
    	...me/.local/share/nvim/lazy/remember.nvim/lua/remember.lua:99: in function <...me/.local/share/nvim/lazy/remember.nvim/lua/remember.lua:98>
    	[C]: in function 'nvim_set_current_buf'
    	...share/nvim/lazy/nvim-dap-ui/lua/dapui/windows/layout.lua:35: in function 'open'
    	...share/nvim/lazy/nvim-dap-ui/lua/dapui/windows/layout.lua:169: in function 'toggle'
    	...me/.local/share/nvim/lazy/nvim-dap-ui/lua/dapui/init.lua:353: in function 'cb'
    	...me/.local/share/nvim/lazy/nvim-dap-ui/lua/dapui/init.lua:228: in function 'keep_cmdheight'
    	...me/.local/share/nvim/lazy/nvim-dap-ui/lua/dapui/init.lua:330: in function 'toggle'
    	[string ":lua"]:1: in main chunk
    stack traceback:
    	[C]: in function 'nvim_set_current_buf'
    	...share/nvim/lazy/nvim-dap-ui/lua/dapui/windows/layout.lua:35: in function 'open'
    	...share/nvim/lazy/nvim-dap-ui/lua/dapui/windows/layout.lua:169: in function 'toggle'
    	...me/.local/share/nvim/lazy/nvim-dap-ui/lua/dapui/init.lua:353: in function 'cb'
    	...me/.local/share/nvim/lazy/nvim-dap-ui/lua/dapui/init.lua:228: in function 'keep_cmdheight'
    	...me/.local/share/nvim/lazy/nvim-dap-ui/lua/dapui/init.lua:330: in function 'toggle'
    	[string ":lua"]:1: in main chunk
    ```
    
    This commit removes that error by adding `dap-repl` to ignore_filetypes
    
    Signed-off-by: GR3YH4TT3R93 <76727386+GR3YH4TT3R93@users.noreply.github.com>
    GR3YH4TT3R93 authored Jun 11, 2024
    Configuration menu
    Copy the full SHA
    a7f2575 View commit details
    Browse the repository at this point in the history

Commits on Jun 13, 2024

  1. Merge pull request #9 from GR3YH4TT3R93/fix/dap-ui-repl

    fix: exclude `dap-repl` filetype
    vladdoster authored Jun 13, 2024
    Configuration menu
    Copy the full SHA
    1b51762 View commit details
    Browse the repository at this point in the history

Commits on Jan 13, 2026

  1. feat: comprehensive Lua testing infrastructure

    Enabling automated unit testing and coverage reporting both locally and via CI/CD.
    
    The changes add configuration files, documentation, and a full test suite using the `busted`
    framework and `luacov` for coverage. CI integration is provided with GitHub Actions, which runs
    tests and posts coverage reports to pull requests.
    
    **Testing infrastructure and automation:**
    
    - Added a full GitHub Actions workflow (`.github/workflows/test.yml`) to run tests and coverage on
      every push and pull request. The workflow installs dependencies, runs tests, generates coverage
      reports, extracts coverage percentage, comments the report on PRs, and uploads coverage artifacts.
    - Created a `Makefile` with targets for installing test dependencies, running tests, generating
      coverage reports, and cleaning artifacts, streamlining local development and testing.
    
    **Configuration for testing and coverage:**
    
    - Added `.busted` and `.luacov` configuration files to specify test and coverage settings, including
      which files to include/exclude.
      [[1]](diffhunk://#diff-c271155dd62a2995cf2d82c3b924636f7b8de9e4708d17aa6463d929ab52241cR1-R11)
      [[2]](diffhunk://#diff-030b6cdc19ece93e7680ef5791dde5f589f076325937767145efe2c5f230dbdaR1-R15)
    
    **Documentation and developer guidance:**
    
    - Updated `README.md` with clear instructions for running tests and coverage locally, and described
      the CI/CD integration. Added a detailed testing guide in `tests/README.md` covering prerequisites,
      test commands, coverage, test structure, and writing new tests.
      [[1]](diffhunk://#diff-b335630551682c19a781afebcf4d07bf978fb1f8ac04c6bf87428ed5106870f5R30-R44)
      [[2]](diffhunk://#diff-dacac2ebf9792f0d23c0f922a744486ded01901957d5281290925acd89cf83acR1-R103)
    
    **Unit test suite:**
    
    - Added a comprehensive test suite in `tests/remember_spec.lua` that mocks the Neovim API, covering
      configuration options, cursor restoration logic, fold handling, centering behavior, and autocmd
      registration.
    
    Signed-off-by: Vladislav Doster <mvdoster@gmail.com>
    vladdoster committed Jan 13, 2026
    Configuration menu
    Copy the full SHA
    7b742bc View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    aca043f View commit details
    Browse the repository at this point in the history
  3. Merge pull request #11 from vladdoster/copilot/add-lua-unit-tests

    Add comprehensive unit tests for remember.lua with GitHub Actions CI/CD
    
    Signed-off-by: Vladislav Doster <mvdoster@gmail.com>
    vladdoster committed Jan 13, 2026
    Configuration menu
    Copy the full SHA
    1bdafb5 View commit details
    Browse the repository at this point in the history
  4. ci: v1.4.1 → v1.5.0

    # [1.5.0](v1.4.1...v1.5.0) (2026-01-13)
    
    ### Bug Fixes
    
    * exclude dap-repl filetype ([a7f2575](a7f2575))
    
    ### Features
    
    * comprehensive Lua testing infrastructure ([7b742bc](7b742bc)), closes [/#diff-c271155dd62a2995cf2d82c3b924636f7b8de9e4708d17aa6463d929ab52241cR1-R11](https://github.com///issues/diff-c271155dd62a2995cf2d82c3b924636f7b8de9e4708d17aa6463d929ab52241cR1-R11) [/#diff-030b6cdc19ece93e7680ef5791dde5f589f076325937767145efe2c5f230dbdaR1-R15](https://github.com///issues/diff-030b6cdc19ece93e7680ef5791dde5f589f076325937767145efe2c5f230dbdaR1-R15) [/#diff-b335630551682c19a781afebcf4d07bf978fb1f8ac04c6bf87428ed5106870f5R30-R44](https://github.com///issues/diff-b335630551682c19a781afebcf4d07bf978fb1f8ac04c6bf87428ed5106870f5R30-R44) [/#diff-dacac2ebf9792f0d23c0f922a744486ded01901957d5281290925acd89cf83acR1-R103](https://github.com///issues/diff-dacac2ebf9792f0d23c0f922a744486ded01901957d5281290925acd89cf83acR1-R103)
    vladdoster committed Jan 13, 2026
    Configuration menu
    Copy the full SHA
    5a3e164 View commit details
    Browse the repository at this point in the history
Loading