Keith Simmons
26169f84c0
Add event aggregator and remove manual usage of channels. Also add redraw editor command on resume
3 years ago
Keith Simmons
d220477b73
update upstream winit fork
3 years ago
Fred Sundvik
0849151838
Run neovim directly in WSL login shell
...
Therefore, the neovim path hack is no longer needed, since the path and
other environment variables are now set correctly.
3 years ago
Fred Sundvik
7d19cd5ebe
Refactor commandline processing
...
This reduces the amount of code duplication, and similar flow
is used for both wsl and non-wsl code paths.
3 years ago
Keith Simmons
22cb5bc05f
refactor saved settings to be an enum to enable persistence of maximized state
3 years ago
Keith Simmons
494f8924e9
Add <CR> mapping for testing out fonts
3 years ago
Keith Simmons
d0cc37c84c
minor text tweak
3 years ago
Keith Simmons
29668bb743
formatting and clippy fixes
3 years ago
Keith Simmons
bc8d002e32
add ability to list available fonts
3 years ago
Keith Simmons
f8cb3a2131
fix minor typo
3 years ago
Fred Sundvik
b0ec20be4a
Use the width of letter 'M' instead of font average width
...
The average character width in the font information is not always
reliable, so get the width from the character 'M' instead. It still
fall backs to the average if there's no 'M' in the font.
3 years ago
Fred Sundvik
c428501def
Fix the font spacing
...
Previously the font width was always rounded down to the nearest
integer, which typically caused the fonts to look to squashed. To
correct the issue a fudge factor, which scales the fonts so that the
width is always an exact integer, was introduced.
3 years ago
LoipesMas
f941f8cf3a
Merge pull request #1112 from fredizzimo/fix_window_setings
...
Fix window settings load and save
3 years ago
LoipesMas
a46f12be35
Remove unused `use`
3 years ago
Fred Sundvik
8c2099496a
Fix window settings load and save
...
Some of the load and save paths were fixed. And the json is now
structured to properly support saving and loading of both position and
size data, and is easily extendible for more fields and objects in the
future.
3 years ago
LoipesMas
36479dd45b
Merge pull request #1099 from LoipesMas/remember_pos
...
Add remember_window_position setting
3 years ago
LoipesMas
53ee286e46
Merge pull request #1111 from fredizzimo/fix_settings
...
Fix for non-existing data directory
3 years ago
Fred Sundvik
d030f97d45
Fix for non-existing data directory
...
Also respect XDG_DATA_HOME on unix systems instead of using hardcoded
path.
3 years ago
LoipesMas
97da1926ba
Remember position and size on by default
3 years ago
LoipesMas
c77a7a93cc
Add remember_window_position setting
3 years ago
Nguyá»…n Anh Khoa
f563360735
remove "-complete=expression" with -nargs=0 ( #1097 )
...
fix: Remove `-complete` when using `-nargs=0`
Newer versions of Vim/Neovim throw error when using -complete with
-nargs=0
https://github.com/neoclide/coc.nvim/issues/3414
https://github.com/neoclide/coc.nvim/pull/3210
3 years ago
shaunsingh
7b6a8f31d2
Merge pull request #1088 from pawlowskialex/main
...
Fix Full Disk Access for universal macOS app
3 years ago
Serg Tereshchenko
393d26bebe
chore: Update Cargo.lock after enabling default features
3 years ago
jsosulski
37d39a100e
Enable default features on winit
...
Currently neovide does not compile on Ubuntu (see #1092 ).
If the second solution in #1092 is preferred, i.e. having x11 and wayland as features in neovide, I can also do that.
3 years ago
Keith Simmons
60ec743b7e
tweaks to cli args
3 years ago
Keith Simmons
78bcc7431a
add nosrgb flag
3 years ago
Keith Simmons
6b96f79bb1
move window files into main window directory rather than being window wrapper
3 years ago
Keith Simmons
b78a714be0
attach to console on startup
3 years ago
Keith Simmons
4982c2615e
only set background opacity if window transparency is not 1.0
3 years ago
Keith Simmons
76bddae01a
check loaded window size before running
3 years ago
Keith Simmons
7390e1aae5
swap to org forks of winit and glutin
3 years ago
Alex Pawlowski
f6db4b7ebb
Ad-Hoc codesign the resulting app bundle after lipo
3 years ago
Alex Pawlowski
ed61e45a05
Remove the cached app bundle before bundling
3 years ago
Keith Simmons
5539b035b5
remove verbosity
3 years ago
Keith Simmons
00bed7dabd
add some tests documenting behavior
3 years ago
Serg Tereshchenko
bad4415e48
fix redundant field names
3 years ago
Serg Tereshchenko
2e68a48cb0
refactor: Use neovim_args for passing files to open
3 years ago
Serg Tereshchenko
2014b40195
fix: Add files_to_open, removed in https://github.com/neovide/neovide/pull/1016/
3 years ago
Serg Tereshchenko
6e93bd7552
fix: Add verbosity flag, removed in https://github.com/neovide/neovide/pull/1016 , set default verbosity to "warn".
3 years ago
Keith Simmons
cf8b48f5f5
default to only logging errors
3 years ago
LoipesMas
4131c50cfd
Fix compiler warnings on non-Windows
3 years ago
Keith Simmons
46e7bec50d
move mouse hiding to just be in the mouse manager
3 years ago
Jan Sosulski
81f52db78b
cargo fmt
3 years ago
Jan Sosulski
f17020b6af
added setting to hide mouse cursor when typing
3 years ago
Keith Simmons
15f9e82af1
fix formatting and clippy
3 years ago
Keith Simmons
c1f7af6eaa
fix formatting
3 years ago
Alex Pawlowski
894c07bf5a
Document handle_macos()
3 years ago
Alex Pawlowski
774f55b882
Linting
3 years ago
Alex Pawlowski
6a627e2be7
Properly parse PATH on macOS
...
This fixes Fish support Neovide is launched from Finder, as well as other non-standard configs where ~/.profile is missing
3 years ago
LoipesMas
ef8a95a91d
Fix transparency for floating windows
3 years ago