656 Commits (130e15439a3a36d3e74756ccae666b3656a10f9e)

Author SHA1 Message Date
MultisampledNight 130e15439a
Reword --nofork help text to be more specific
In reference to #1055. Seemingly the previous help text suggested to the
OP that Neovide could "embed" itself directly into the terminal
emulator, while the flag only cares about process management.
2 years ago
multisn8 d8efc9a438
Clipboard: Read channel id from nvim variable (#1411) 2 years ago
MultisampledNight 148e9e450f
Switch to shlex to make filenames shellsafe
shlex also takes care of any other POSIX-shell specific stuff, such as ".
Also cleans up the vector extension a bit.
2 years ago
“Dinesh 83edde8103 macos specific filename with space check 2 years ago
“Dinesh febee7b85f fix: Add backslash when filepath contains spaces 2 years ago
Kris Hjorth 7be42b6501 Clipboard: Read channel id from nvim variable.
[Clipboard providers are only loaded once by Neovim](https://github.com/neovim/neovim/issues/8017), causing the previous code to use an obsolete channel id when reconnecting to a remote nvim instance.
2 years ago
MultisampledNight ff10bb0be9
Fix #1207
The original check of whether a cursor movement was intentional or just
in the same window wasn't enough for the command line, where a cursor
didn't really move but was just displayed in the command line area for a
short time. Hardcodes 4 as constant for the commandline mode, I have no
idea how future-safe that is.
2 years ago
Kian-Meng Ang 73ddc335b2
Fix typos (#1355) 2 years ago
multisn8 133497ff07
Alternative Alt + character handling for MacOS (#1366) 2 years ago
Ivan Oreshnikov 5bbcfb619c Added alternative Alt + character handing for MacOS
By default on MacOS pressing a key combination containing an Alt key
produces a special character:

    <Alt + s> -> ß
    <Alt + v> -> √
    ...

It is really unfortunate if you want to use those key combinations as
shortcuts and this case has to be handles separately by the app.

This commit introduces a new configuration flag
`neovide_macos_alt_is_meta`. When the flag is set to true then all the
Alt- key combinations are treated as shortcuts with no extra character
modifications, i.e. pressing `Alt` and `s` indeed emits a <M-s>
shortcut.
2 years ago
Gleb Buzin 179707da84
fix(bridge): switch to copypasta clipboard provider
Add Wayland support for clipboard without XWayland requirement.
2 years ago
MultisampledNight 1083efb6a5
Run cargo fmt 2 years ago
Kris Hjorth 90aebcfa0f Get channel from nvim.get_api_info().
I don't know the history behind the channel list parsing, but this seems
to be a lot cleaner. There also seems to be a race condition in the
parsing approach, which often causes the channel to not be detected when
reconnecting to a remote Neovim instance.
2 years ago
MultisampledNight bdbef520f8
Switch to arboard for clipboard support
The clipboard crate has a few indirect vulnerabilities through a
dependency on xcb.
2 years ago
multisn8 69902a4272
Merge pull request #1303 from MultisampledNight/configurable-blur
Add configurable blur amount
3 years ago
Christopher Gadzinski 416ecd8094 use better placeholder string 3 years ago
Christopher Gadzinski 928d8283fe don't error on messagepack values encoding invalid strings 3 years ago
MultisampledNight 5d26ec2930
Split unified blur amount into X and Y 3 years ago
MultisampledNight 4b264afa48
Add configurable blur 3 years ago
MultisampledNight e2e4f5a744
Integrate open files as tabs into tests 3 years ago
MultisampledNight fcbb2722f1
Fix deadlock in test
The test held a read lock on SETTINGS while trying to write to it. As
both happened on the same thread, that went wrong and caused a deadlock.
3 years ago
multisn8 9a40efbf1d
Merge branch 'main' into main 3 years ago
multisn8 a3121bd785
Merge pull request #1276 from pinjeff/bump_dep
Bump dependencies
3 years ago
MultisampledNight ee0037a31e
Fix undefined behavior
There's no guarantee that the lock is being held by the main thread at
that moment, so the unsafe block violated the safety contract.
3 years ago
Sergio Ribera 09940c4f87 remove unnecesary empty line 3 years ago
Sergio Ribera 092fb87e8d fix bad conditional 3 years ago
Sergio Ribera 30efb09f93 automatic add -p parametter to nvim args if tabs enabled 3 years ago
MultisampledNight 086b891856
Make CI happy by cargo fmt 3 years ago
Jaffar Mohammed 5752025762 fix clippy warnings 3 years ago
Jaffar Mohammed 9b8907c8c7 bump dep 3 years ago
Sergio Ribera ed7dcf077d refactor: remove unnecesary if 3 years ago
Sergio Ribera c3533897ac refactor: change the name of the variable 3 years ago
Sergio Ribera f125f054ff fix: bad format of code 3 years ago
Sergio Ribera 4d073ae168 feat: open each files a new tab 3 years ago
Sergio Ribera be8b826659 feat: add the files into a settings parameter 3 years ago
lethanix b9739a9c3e Fixes #1216 3 years ago
Jesse Hallett 86aa2751a1
Render block cursor as an outline when window is not focused (#1257)
* add method that draws a rectangular outline

* unwrap option a little more nicely

* set cursor renderer to draw outline when focus lost

* add configuraton option for cursor outline width
3 years ago
Jae-Heon Ji 65c234131f
Fix: Neovide.app not working in Finder (#1242)
* fix: update command execution for macos

* feat: support brew for macos users

* fix: add refetence for M1 brew
3 years ago
LoipesMas bb1255d303
Merge pull request #1246 from huncut2016/main
error: there is no argument named `min_ft` solved
3 years ago
Vivianne 5def324265
Add neovide_confirm_quit option to confirm before quitting (#1247)
* Add g:neovide_confirm_quit which will ask before quitting

* more compact

* cargo fmt
3 years ago
huncut2016 331dedebcc formatting argument 3 years ago
huncut2016 8384cd00ca error: there is no argument named `min_ft` solved 3 years ago
Jae-Heon Ji 15234bd093
fix: bridge command (#1217)
* feat: update command for macOS

* feat: update command for windows

* refactor: apply review
3 years ago
LoipesMas 9c1481e1c5
feat: profiler which displays frametime graph (#1210) 3 years ago
multisn8 5f9e22c7e5
Handle underscores in the font name as spaces (#1214) 3 years ago
Natasha England-Elbro 92bc1725f1
feat: add support for blend=100 (#1195)
* feat: add support for blend=100

* feat: add support for blend between 0 and 100 for cursor

* fix: cursor not updating on window switch

* fix: crash on set cursor group

* chore: formatting

* chore: curr -> current
3 years ago
Keith Simmons 6b45dca453 fix formatting 3 years ago
Keith Simmons f4aac3b53d fix failing test 3 years ago
Serhii Tereshchenko cdf61a970b
ci: Fix broken CI (#1183)
* Fixed building tests
* added `set -eo pipefail` for actually fail pipeline, for some reason it does not work by default
3 years ago
Serhii Tereshchenko be79bdee60
feat: Allow float font sizes if requested (#1179)
To use float font size, define it with dot, example:

monospace:h11 - uses integer size with fudging
monospace:h11.0 - uses float font size
3 years ago