* . *
  • About
  • Advertise
  • Privacy & Policy
  • Contact
Monday, July 7, 2025
Earth-News
  • Home
  • Business
  • Entertainment
    Government whip to withdraw Entertainment Complex Bill on July 9 – Nation Thailand

    Government whip to withdraw Entertainment Complex Bill on July 9 – Nation Thailand

    Magicians and Battlebots light up Las Vegas entertainment scene – KSNV

    Magicians and Battlebots Take Las Vegas Entertainment by Storm

    Max-Matching Entertainments & Longhua District form partnership for new entertainment complex – Blooloop

    Max-Matching Entertainments and Longhua District Unite to Launch Thrilling New Entertainment Complex

    Kennedy Publishing, MGA Entertainment Launch Yummiland Magazine – License Global

    Kennedy Publishing, MGA Entertainment Launch Yummiland Magazine – License Global

    MAY HER SOUL REST IN PEACE 🙏 Veteran entertainment columnist and talent manager Lolit Solis has passed away. She was 78 years old. https://tinyurl.com/6kumarkx | LatestChika.com – Facebook

    Beloved Entertainment Icon Lolit Solis Passes Away at 78 – A Life Remembered with Love and Respect 🙏

    Neil Young Plays Rare Full-Band ‘Ambulance Blues’ With The Chrome Hearts – Yahoo

    Neil Young Stuns Fans with Rare Full-Band Performance of ‘Ambulance Blues’ Alongside The Chrome Hearts

  • General
  • Health
  • News

    Cracking the Code: Why China’s Economic Challenges Aren’t Shaking Markets, Unlike America’s” – Bloomberg

    Trump’s Narrow Window to Spread the Truth About Harris

    Trump’s Narrow Window to Spread the Truth About Harris

    Israel-Gaza war live updates: Hamas leader Ismail Haniyeh assassinated in Iran, group says

    Israel-Gaza war live updates: Hamas leader Ismail Haniyeh assassinated in Iran, group says

    PAP Boss to Niger Delta Youths, Stay Away from the Protest

    PAP Boss to Niger Delta Youths, Stay Away from the Protest

    Court Restricts Protests In Lagos To Freedom, Peace Park

    Court Restricts Protests In Lagos To Freedom, Peace Park

    Fans React to Jazz Jennings’ Inspiring Weight Loss Journey

    Fans React to Jazz Jennings’ Inspiring Weight Loss Journey

    Trending Tags

    • Trump Inauguration
    • United Stated
    • White House
    • Market Stories
    • Election Results
  • Science
  • Sports
  • Technology
    Technology And Construction Names Join Top Stock Lists: Check Out Additions To IBD 50, Big Cap 20 And More – Investor’s Business Daily

    Technology and Construction Leaders Surge Into Top Stock Rankings: See the Latest Additions to IBD 50, Big Cap 20, and More

    Column: Teach kupuna new technology skills – Honolulu Star-Advertiser

    Empowering Kupuna: Unlocking New Technology Skills for a Connected Future

    EIFO invests $5 million in D3, the Ukraine-focused defence technology venture fund – sUAS News

    EIFO Pledges $5 Million to Supercharge Ukraine-Focused Defense Technology Fund

    New Technology for Water Efficiency and Working with Mexico on Screwworm – AG INFORMATION NETWORK OF THE WEST

    Revolutionary Water Efficiency Technology and Cross-Border Collaboration to Defeat Screwworm

    Environmental cognitive distance, R&D capability distance, and supply chain green technology innovation – Nature

    Bridging Gaps: How Environmental and R&D Differences Drive Green Technology Innovation in Supply Chains

    LG Innotek CEO Moon Hyuksoo: “Our Next-gen Substrate Technology Will Change the Industry Paradigm” – TechPowerUp

    LG Innotek CEO Moon Hyuksoo: “Our Next-Gen Substrate Technology Will Revolutionize the Industry” Revolutionizing the Future: LG Innotek’s CEO Unveils Game-Changing Next-Gen Substrate Technology

    Trending Tags

    • Nintendo Switch
    • CES 2017
    • Playstation 4 Pro
    • Mark Zuckerberg
No Result
View All Result
  • Home
  • Business
  • Entertainment
    Government whip to withdraw Entertainment Complex Bill on July 9 – Nation Thailand

    Government whip to withdraw Entertainment Complex Bill on July 9 – Nation Thailand

    Magicians and Battlebots light up Las Vegas entertainment scene – KSNV

    Magicians and Battlebots Take Las Vegas Entertainment by Storm

    Max-Matching Entertainments & Longhua District form partnership for new entertainment complex – Blooloop

    Max-Matching Entertainments and Longhua District Unite to Launch Thrilling New Entertainment Complex

    Kennedy Publishing, MGA Entertainment Launch Yummiland Magazine – License Global

    Kennedy Publishing, MGA Entertainment Launch Yummiland Magazine – License Global

    MAY HER SOUL REST IN PEACE 🙏 Veteran entertainment columnist and talent manager Lolit Solis has passed away. She was 78 years old. https://tinyurl.com/6kumarkx | LatestChika.com – Facebook

    Beloved Entertainment Icon Lolit Solis Passes Away at 78 – A Life Remembered with Love and Respect 🙏

    Neil Young Plays Rare Full-Band ‘Ambulance Blues’ With The Chrome Hearts – Yahoo

    Neil Young Stuns Fans with Rare Full-Band Performance of ‘Ambulance Blues’ Alongside The Chrome Hearts

  • General
  • Health
  • News

    Cracking the Code: Why China’s Economic Challenges Aren’t Shaking Markets, Unlike America’s” – Bloomberg

    Trump’s Narrow Window to Spread the Truth About Harris

    Trump’s Narrow Window to Spread the Truth About Harris

    Israel-Gaza war live updates: Hamas leader Ismail Haniyeh assassinated in Iran, group says

    Israel-Gaza war live updates: Hamas leader Ismail Haniyeh assassinated in Iran, group says

    PAP Boss to Niger Delta Youths, Stay Away from the Protest

    PAP Boss to Niger Delta Youths, Stay Away from the Protest

    Court Restricts Protests In Lagos To Freedom, Peace Park

    Court Restricts Protests In Lagos To Freedom, Peace Park

    Fans React to Jazz Jennings’ Inspiring Weight Loss Journey

    Fans React to Jazz Jennings’ Inspiring Weight Loss Journey

    Trending Tags

    • Trump Inauguration
    • United Stated
    • White House
    • Market Stories
    • Election Results
  • Science
  • Sports
  • Technology
    Technology And Construction Names Join Top Stock Lists: Check Out Additions To IBD 50, Big Cap 20 And More – Investor’s Business Daily

    Technology and Construction Leaders Surge Into Top Stock Rankings: See the Latest Additions to IBD 50, Big Cap 20, and More

    Column: Teach kupuna new technology skills – Honolulu Star-Advertiser

    Empowering Kupuna: Unlocking New Technology Skills for a Connected Future

    EIFO invests $5 million in D3, the Ukraine-focused defence technology venture fund – sUAS News

    EIFO Pledges $5 Million to Supercharge Ukraine-Focused Defense Technology Fund

    New Technology for Water Efficiency and Working with Mexico on Screwworm – AG INFORMATION NETWORK OF THE WEST

    Revolutionary Water Efficiency Technology and Cross-Border Collaboration to Defeat Screwworm

    Environmental cognitive distance, R&D capability distance, and supply chain green technology innovation – Nature

    Bridging Gaps: How Environmental and R&D Differences Drive Green Technology Innovation in Supply Chains

    LG Innotek CEO Moon Hyuksoo: “Our Next-gen Substrate Technology Will Change the Industry Paradigm” – TechPowerUp

    LG Innotek CEO Moon Hyuksoo: “Our Next-Gen Substrate Technology Will Revolutionize the Industry” Revolutionizing the Future: LG Innotek’s CEO Unveils Game-Changing Next-Gen Substrate Technology

    Trending Tags

    • Nintendo Switch
    • CES 2017
    • Playstation 4 Pro
    • Mark Zuckerberg
No Result
View All Result
Earth-News
No Result
View All Result
Home Technology

What’s New in Neovim 0.10

May 16, 2024
in Technology
What’s New in Neovim 0.10
Share on FacebookShare on Twitter

Neovim 0.10 was the longest release cycle since the heady days of the 0.5
release. There are a ton of new features in this release (as well as some
breaking changes), so be sure to check the full release notes. You can
view the release notes directly in Nvim with :h news. The news file includes
information on new features, deprecations, and breaking changes. I especially
urge plugin authors to read this file carefully.

Like last time, in this post I’ll cover a subset of the new features.
As I said, it’s a big release, and I won’t write about everything, but these
are some of the highlights.

Table of Contents

Defaults
Builtin commenting
Terminal UI enhancements
LSP inlay hints
Tree-sitter query editor
Miscellaneous
Roadmap

Defaults

Colorscheme

Nvim has been in need of a new default colorscheme for a long time. While the
default colors have some charm and nostalgia, there are serious accessibility
and aesthetic issues, particular when using Nvim is a diff viewer. The
screenshot below shows the default colorscheme before Nvim 0.10:

Neovim's default colorscheme before 0.10

Nvim 0.10 now ships with a new default colorscheme, which you can see below:

Neovim's new default colorscheme

The new default colorscheme was heroically contributed by Evgeni
Chasnovski, who endured seemingly endless bikeshedding and
successfully navigated the treacherous waters of such a subjective change.
There were many constraints imposed on the design of the colorscheme, which
you can read in the PR (and the many follow up PRs and issues linked
therein). It is quite literally impossible to please everyone with a single
colorscheme, and there is no expectation that we have achieved that, but the
new colorscheme does, hopefully, improve the default experience for many
people.

LSP and Diagnostics Mappings

Nvim 0.10 adds a new default mapping: K in Normal mode maps to
vim.lsp.buf.hover() whenever a buffer attaches to an LSP client, unless
‘keywordprg’ is already set to a non-default value. Use this to view
information about the function or variable under the cursor. This in addition
to the existing defaults mentioned in :h lsp-defaults which were added in
the previous release.

In addition, there are new default mappings for navigating
diagnostics:

[d and ]d in Normal mode map to vim.diagnostic.goto_prev() and
vim.diagnostic.goto_next(), respectively. Use these to navigate between
diagnostics in the current buffer.
d (and ) in Normal mode map to
vim.diagnostic.open_float(). Use this to view information about any
diagnostics under the cursor in a floating window.

The diagnostics mappings override builtin mappings. These builtin mappings are
not often used, but if you do use them you can delete the new default
mappings with vim.keymap.del() or :unmap.

The intention behind providing more default mappings is to make it easier to
get started with LSP in Neovim. The hope is that most users should be able to
get up and running with useful LSP features with little to no configuration
and without needing to write a bunch of Lua code. We have plans to add more
defaults in future releases, though as you might imagine this is a fraught
exercise. It is quite difficult to change default behavior in a tool as
extensible and customizable as Nvim without breaking users’
workflows.

Two features which many users rely on for their LSP experience are snippets
support and autocompletion. Both of these features are on the roadmap to be
included in Nvim core (see #27339, #25696, and #25670) which
will, hopefully, make the experience of using LSP in Neovim even smoother in
the future.

Longtime Vim users are likely familiar with the venerable vim-commentary
plugin, which creates mappings and operators for commenting and uncommenting
text. Thanks to Evgeni Chasnovski, Nvim 0.10 now bundles this
functionality by default, using a from-scratch implementation in
Lua. Unlike vim-commentary, Nvim’s builtin implementation provides a text
object and supports Tree-sitter, which is useful when working in injected
languages (example: if you comment text inside a tag in an HTML
buffer, it will correctly use the Javascript // comment string rather than
HTML’s comment string).

See :h commenting for more details.

Terminal UI enhancements

Nvim 0.10 adds support for many new terminal based capabilities.

Synchronized Output

Many modern terminal emulators support synchronized output which allows
terminal applications (like Nvim) to “batch” all of their UI updates in the
terminal emulator and display them all at once. This can reduce “flickering”
and “tearing” when a terminal UI (TUI) is being drawn very rapidly. This can
sometimes happen in Nvim when using plugins that perform rapid UI updates
(e.g. spinners, LSP status windows, etc.). Nvim 0.10 introduces a new
‘termsync’ option (enabled by default) which enables this feature if it is
supported by the terminal emulator.

System clipboard synchronization

Nvim 0.10 can now use the OSC 52 escape sequence to write to (or read from)
the system clipboard. OSC 52 is only used automatically when (1) it is able to
determine that the terminal emulator supports it (via XTGETTCAP), (2) it is
running in an SSH session, and (3) when the ‘clipboard’ option is unset.
Note that some terminal emulators do not support reading from the system
clipboard with OSC 52, or only allow it after prompting the user for
confirmation. It is recommended to use the traditional “paste” key binding
(e.g. Cmd+V on macOS or Ctrl+Shift+V on Linux) to paste into Nvim from the
system clipboard and use “+ to copy to the clipboard inside Nvim (see :h quoteplus).

Hyperlinks

Nvim 0.10 introduces experimental support for hyperlinks using the OSC 8
sequence. By default, this is used in Markdown for links of the form
[example](https://example.com). If your terminal emulator supports the OSC 8
escape sequence, then the text example in the Nvim buffer will contain a
hyperlink that can be clicked and will open https://example.com in your web
browser.

This means that users can view Markdown files with :set conceallevel=2 and
get an experience much closer to the rendered output:

Screenshot of the Neovim README opened in Nvim

In the screenshot above, the underlined words are clickable link text, just as
you would find in a web browser.

Automatic truecolor detection

Nvim 0.10 will now automatically determine if the terminal emulator supports
24 bit color (“truecolor”) and enable the ‘termguicolors’ option if it does.
It does this through a combination of heuristics ($COLORTERM, terminfo) and
terminal queries (DECRQSS, XTGETTCAP). This detection works even over SSH
connections and when inside a terminal multiplexer such as tmux.

LSP inlay hints

Nvim 0.10 now supports LSP inlay hints thanks to Chinmay
Dalal. A picture here will do more than my words can:

Screenshot of Nvim showing inlay hints

The dark colored texts which display type annotations for variable declarations
are inlay hints. This text is not part of the actual source file in the
buffer, but is “virtual” text inserted by Nvim and provided by the language
server. These hints can be enabled or disabled dynamically using
vim.lsp.inlay_hint.enable().

Many other new LSP features were added in Nvim 0.10 as well. Refer to the
“LSP” section in :h news for a full list.

Tree-sitter query editor

Nvim 0.10 adds even more tools for working with Tree-sitter queries. If you
didn’t know already, Nvim bundles an “inspector” which allows you to view the
abstract syntax tree of any source file with the :InspectTree command (so
long as a Tree-sitter parser for the file’s language is installed). Example:

Screenshot of the :InspectTree command in Nvim

Thanks to Maria José Solano, Nvim 0.10 adds a powerful
capability to the Tree-sitter inspector: a query editor. The query
editor allows you to write queries and see the matches in a source buffer in
real time. Being able to create and modify queries interactively makes writing
new queries a breeze. Example:

Screenshot of the :EditQuery command in Nvim

In the screenshot above, the query editor is open in the top-right window, the
tree inspector is in the bottom-right window, and the source buffer is in the
left window. Notice that the text that is matched by the query in the query
editor is highlighted in the source buffer and that the text initializer
(the capture group used in the query) is floating on the line next to the
match. As the query is updated in the editor, the corresponding highlights in
the source buffer change in real time.

The query editor can be opened by pressing o in the :InspectTree window,
with the :EditQuery command, or by calling vim.treesitter.query.edit()
directly.

With :InspectTree and :EditQuery, Neovim is one of the best tools (if not
the best tool) for working with Tree-sitter, even if you don’t actually use
Neovim.

Miscellaneous

As I mentioned at the top of this post, there are a lot of new features in
this release, and I am not going to cover all of them. Here I’ll list a few
more that I personally think are worth mentioning:

The :terminal command now accepts modifiers, so you can use e.g. :botright terminal (or :bo te) to open a new terminal window in a split at the
bottom of your screen. In addition, :terminal buffers that are started
with no arguments (and thus open a shell) will close automatically when the
shell exits without an error.

gx in Normal mode calls vim.ui.open() on whatever is under the cursor,
which shells out to your operating system’s “open” capability (e.g. open
on macOS or xdg-open on Linux). For instance, pressing gx on a URL will
open that URL in your browser.

Tree-sitter based syntax highlighting is enabled by default for Lua, Vimdoc
(:help), and Tree-sitter queries (to revert to traditional regex
based syntax highlighting, create a FileType autocommand or ftplugin
with vim.treesitter.stop() for the respective filetype).

Q and @ in Visual mode will execute the last recorded/executed macro for
all visually selected lines.

Users using a terminal emulator that supports the Kitty keyboard protocol
can create mappings using the “super” and “meta” modifiers with the
>>> Read full article>>>
Copyright for syndicated content belongs to the linked Source : Hacker News – https://gpanders.com/blog/whats-new-in-neovim-0.10/

Tags: NeovimtechnologyWhat’s
Previous Post

You thought OpenStreetMap uses WGS84? No it doesn’t

Next Post

State of the Terminal

Louise Harrison – TBR News Media

Louise Harrison – TBR News Media

July 7, 2025
Cape Town’s sewage treatment isn’t coping: scientists are worried about what the city is telling the public – The Conversation

Cape Town’s Sewage Crisis: Scientists Raise Alarms Over What the City Isn’t Telling Residents

July 7, 2025
Titan Could Have An Alien Biosphere – But It Might Be Dog-Sized – ScienceAlert

Could Titan Harbor an Alien Biosphere Filled with Dog-Sized Creatures?

July 7, 2025
Retired woman shares inside look at lifestyle after moving into unconventional tiny home: ‘The best decision I’ve ever made’ – Yahoo

Retired woman shares inside look at lifestyle after moving into unconventional tiny home: ‘The best decision I’ve ever made’ – Yahoo

July 7, 2025
Box Office: ‘Jurassic World Rebirth’ Bites Into $318 Million Globally, ‘Lilo & Stitch’ Nears $975 Million – Variety

Box Office Blockbusters: ‘Jurassic World Rebirth’ Roars to $318 Million as ‘Lilo & Stitch’ Nears $975 Million Milestone

July 7, 2025
NEWS: Stablecoin Tether is money launderering ‘dream currency fuelling global shadow economy’, Economist investigation finds; in EU major rift emerges on stablecoins adoption – AML Intelligence

Stablecoin Tether Exposed as the ‘Dream Currency’ Fueling Global Money Laundering and Shadow Economy; EU Faces Major Divide Over Stablecoin Adoption

July 7, 2025
Government whip to withdraw Entertainment Complex Bill on July 9 – Nation Thailand

Government whip to withdraw Entertainment Complex Bill on July 9 – Nation Thailand

July 7, 2025
HIMS INVESTOR ALERT: Edelson Lechtzin LLP Urges Hims & Hers Health, Inc. (NYSE: HIMS) Shareholders to Consult an Attorney About the Impending Lead Plaintiff Deadline in the Securities Fraud Class Action – Morningstar

HIMS INVESTOR ALERT: Edelson Lechtzin LLP Urges Hims & Hers Health, Inc. (NYSE: HIMS) Shareholders to Consult an Attorney About the Impending Lead Plaintiff Deadline in the Securities Fraud Class Action – Morningstar

July 7, 2025
Trump says Musk has gone ‘off the rails’ after Tesla CEO announces new political party – CNBC

Trump Says Musk Has ‘Gone Off the Rails’ After Tesla CEO Launches New Political Party

July 7, 2025
Technology And Construction Names Join Top Stock Lists: Check Out Additions To IBD 50, Big Cap 20 And More – Investor’s Business Daily

Technology and Construction Leaders Surge Into Top Stock Rankings: See the Latest Additions to IBD 50, Big Cap 20, and More

July 7, 2025

Categories

Archives

July 2025
MTWTFSS
 123456
78910111213
14151617181920
21222324252627
28293031 
« Jun    
Earth-News.info

The Earth News is an independent English-language daily published Website from all around the World News

Browse by Category

  • Business (20,132)
  • Ecology (709)
  • Economy (734)
  • Entertainment (21,622)
  • General (15,761)
  • Health (9,772)
  • Lifestyle (739)
  • News (22,149)
  • People (734)
  • Politics (743)
  • Science (15,951)
  • Sports (21,233)
  • Technology (15,718)
  • World (715)

Recent News

Louise Harrison – TBR News Media

Louise Harrison – TBR News Media

July 7, 2025
Cape Town’s sewage treatment isn’t coping: scientists are worried about what the city is telling the public – The Conversation

Cape Town’s Sewage Crisis: Scientists Raise Alarms Over What the City Isn’t Telling Residents

July 7, 2025
  • About
  • Advertise
  • Privacy & Policy
  • Contact

© 2023 earth-news.info

No Result
View All Result

© 2023 earth-news.info

No Result
View All Result

© 2023 earth-news.info

Go to mobile version