We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
When tpope/vim-eunuch is installed along with orgmode, pressing Enter or Return in insert mode in org files prints \r in the file instead.
\r
.org
Pressing CR should enter a new line.
No response
vim.cmd([[set runtimepath=$VIMRUNTIME]]) vim.cmd([[set packpath=/tmp/nvim/site]]) local package_root = '/tmp/nvim/site/pack' local install_path = package_root .. '/packer/start/packer.nvim' local function load_plugins() require('packer').startup({ { 'wbthomason/packer.nvim', { 'nvim-treesitter/nvim-treesitter' }, { 'kristijanhusak/orgmode.nvim', branch = 'master' }, 'tpope/vim-eunuch', }, config = { package_root = package_root, compile_path = install_path .. '/plugin/packer_compiled.lua', }, }) end _G.load_config = function() require('orgmode').setup_ts_grammar() require('nvim-treesitter.configs').setup({ highlight = { enable = true, additional_vim_regex_highlighting = { 'org' }, }, }) vim.cmd([[packadd nvim-treesitter]]) vim.cmd([[runtime plugin/nvim-treesitter.lua]]) vim.cmd([[TSUpdateSync org]]) -- Close packer after install if vim.bo.filetype == 'packer' then vim.api.nvim_win_close(0, true) end require('orgmode').setup() -- Reload current file if it's org file to reload tree-sitter if vim.bo.filetype == 'org' then vim.cmd([[edit!]]) end end if vim.fn.isdirectory(install_path) == 0 then vim.fn.system({ 'git', 'clone', 'https://github.com/wbthomason/packer.nvim', install_path }) load_plugins() require('packer').sync() vim.cmd([[autocmd User PackerCompileDone ++once lua load_config()]]) else load_plugins() load_config() end
macOS 12.6
0.8
The text was updated successfully, but these errors were encountered:
84decdb
Should be fixed now. Thanks for reporting.
Sorry, something went wrong.
Fix Enter printing "\r" instead of creating a new line. Closes nvim-o…
9743efc
…rgmode#420
No branches or pull requests
Describe the bug
When tpope/vim-eunuch is installed along with orgmode, pressing Enter or Return in insert mode in org files prints
\rin the file instead.Steps to reproduce
.orgfileExpected behavior
Pressing CR should enter a new line.
Emacs functionality
No response
Minimal init.lua
Screenshots and recordings
No response
OS / Distro
macOS 12.6
Neovim version/commit
0.8
Additional context
No response
The text was updated successfully, but these errors were encountered: