Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

render.lua:225 Expected lua string #296

Closed
yimingwangdell opened this issue Sep 23, 2023 · 5 comments
Closed

render.lua:225 Expected lua string #296

yimingwangdell opened this issue Sep 23, 2023 · 5 comments
Assignees

Comments

@yimingwangdell
Copy link

Language: go
AerialInfo: error

traceback:
render.lua 225
window.lua 497
autocommands.lua 134

reproduce: open any go file, open aerial with toggle, and run :q! to quit, then I cant move with jk in go source code anymore.

@stevearc
Copy link
Owner

Does not repro for me. Closing for insufficient information. If you can get a minimal config that reproduces the issue, feel free to reopen.

@yimingwangdell
Copy link
Author

yimingwangdell commented Sep 25, 2023

@stevearc use :q! not :q to quit aerial. I can repro as always.

@stevearc
Copy link
Owner

Let me know if you can get the repro with a minimal config file, because it doesn't repro in my config.

@yimingwangdell
Copy link
Author

{
	"stevearc/stickybuf.nvim",
	config = function()
		require("stickybuf").setup({
			-- This function is run on BufEnter to determine pinning should be activated
			get_auto_pin = function(bufnr)
				-- You can return "bufnr", "buftype", "filetype", or a custom function to set how the window will be pinned
				-- The function below encompasses the default logic. Inspect the source to see what it does.
				return require("stickybuf").should_auto_pin(bufnr)
			end
		})
	end
},
{
	"stevearc/aerial.nvim",
	lazy = false,
	config = function()
		require("aerial").setup({
			on_attach = function(bufnr)
				-- Jump forwards/backwards with '{' and '}'
				vim.keymap.set('n', '[[', '<cmd>AerialPrev<CR>', { buffer = bufnr })
				vim.keymap.set('n', ']]', '<cmd>AerialNext<CR>', { buffer = bufnr })
			end
		})
		vim.keymap.set('n', 'tg', '<cmd>AerialToggle<CR>')
	end
}

@stevearc

@stevearc
Copy link
Owner

Should be fixed now

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants