* . *
  • About
  • Advertise
  • Privacy & Policy
  • Contact
Tuesday, June 17, 2025
Earth-News
  • Home
  • Business
  • Entertainment
    Safety concerns in Deep Ellum create apprehension as the entertainment district gains visitors – CBS News

    Safety Concerns Surge Amid Deep Ellum’s Booming Popularity and Growing Crowds

    Elisabeth Moss’ ‘Handmaid’s Tale’ Emmy chances, by the numbers – Yahoo

    Elisabeth Moss’ ‘Handmaid’s Tale’ Emmy chances, by the numbers – Yahoo

    ‘Gangs of London’ Producer Explains Season 3 Deaths, Hypes Season 4 – Citizen Tribune

    Gangs of London’ Producer Reveals Shocking Season 3 Deaths and Teases Exciting Season 4

    The Iconic Missouri Diner That Gives You A Taste Of Live Entertainment With Your Meal – Yahoo

    Savor Delicious Meals While Enjoying Live Entertainment at Missouri’s Iconic Diner

    Keke Palmer Revealed How She Came Up With Her Son Leodis’ Name – Yahoo

    Keke Palmer Shares the Heartwarming Story Behind Her Son Leodis’ Name

    The Media and Entertainment Deal Machine Is Revving Up – WSJ

    The Media and Entertainment Deal Machine Is Gearing Up for Action

  • 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
    Further Upside For Aeries Technology, Inc (NASDAQ:AERT) Shares Could Introduce Price Risks After 27% Bounce – simplywall.st

    Further Upside For Aeries Technology, Inc (NASDAQ:AERT) Shares Could Introduce Price Risks After 27% Bounce – simplywall.st

    Editor’s Pick: 9 Books on Technology – The Gospel Coalition

    9 Must-Read Books That Will Completely Transform How You Understand Technology

    New Semiconductor Technology Could Supercharge 6G Delivery – SciTechDaily

    Revolutionary Semiconductor Technology Set to Turbocharge 6G Connectivity

    UTC To Host Quantum Technology Workshop June 23-25 – Chattanoogan.com: Breaking News

    Join the Quantum Technology Workshop This June 23-25!

    Rimac Technology Powers the Bugatti Tourbillon with Cutting-Edge Battery and Powertrain Tech – Rimac Newsroom

    Rimac Technology Drives the Bugatti Tourbillon with Revolutionary Battery and Powertrain Innovation

    “Co-creation” boosts commercial technology for dual-use defense applications – Breaking Defense

    “Co-creation” boosts commercial technology for dual-use defense applications – Breaking Defense

    Trending Tags

    • Nintendo Switch
    • CES 2017
    • Playstation 4 Pro
    • Mark Zuckerberg
No Result
View All Result
  • Home
  • Business
  • Entertainment
    Safety concerns in Deep Ellum create apprehension as the entertainment district gains visitors – CBS News

    Safety Concerns Surge Amid Deep Ellum’s Booming Popularity and Growing Crowds

    Elisabeth Moss’ ‘Handmaid’s Tale’ Emmy chances, by the numbers – Yahoo

    Elisabeth Moss’ ‘Handmaid’s Tale’ Emmy chances, by the numbers – Yahoo

    ‘Gangs of London’ Producer Explains Season 3 Deaths, Hypes Season 4 – Citizen Tribune

    Gangs of London’ Producer Reveals Shocking Season 3 Deaths and Teases Exciting Season 4

    The Iconic Missouri Diner That Gives You A Taste Of Live Entertainment With Your Meal – Yahoo

    Savor Delicious Meals While Enjoying Live Entertainment at Missouri’s Iconic Diner

    Keke Palmer Revealed How She Came Up With Her Son Leodis’ Name – Yahoo

    Keke Palmer Shares the Heartwarming Story Behind Her Son Leodis’ Name

    The Media and Entertainment Deal Machine Is Revving Up – WSJ

    The Media and Entertainment Deal Machine Is Gearing Up for Action

  • 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
    Further Upside For Aeries Technology, Inc (NASDAQ:AERT) Shares Could Introduce Price Risks After 27% Bounce – simplywall.st

    Further Upside For Aeries Technology, Inc (NASDAQ:AERT) Shares Could Introduce Price Risks After 27% Bounce – simplywall.st

    Editor’s Pick: 9 Books on Technology – The Gospel Coalition

    9 Must-Read Books That Will Completely Transform How You Understand Technology

    New Semiconductor Technology Could Supercharge 6G Delivery – SciTechDaily

    Revolutionary Semiconductor Technology Set to Turbocharge 6G Connectivity

    UTC To Host Quantum Technology Workshop June 23-25 – Chattanoogan.com: Breaking News

    Join the Quantum Technology Workshop This June 23-25!

    Rimac Technology Powers the Bugatti Tourbillon with Cutting-Edge Battery and Powertrain Tech – Rimac Newsroom

    Rimac Technology Drives the Bugatti Tourbillon with Revolutionary Battery and Powertrain Innovation

    “Co-creation” boosts commercial technology for dual-use defense applications – Breaking Defense

    “Co-creation” boosts commercial technology for dual-use defense applications – Breaking Defense

    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

“One Health” needs ecology – PNAS

“One Health” needs ecology – PNAS

June 17, 2025
Congress shows first signs of resisting Trump’s plans to slash science budgets – Science | AAAS

Congress shows first signs of resisting Trump’s plans to slash science budgets – Science | AAAS

June 17, 2025
Schmidt AI in Science Fellows leverage accelerated research into promising commercial ventures – University of Toronto

Schmidt AI in Science Fellows Propel Breakthrough Research into Thriving Commercial Ventures

June 17, 2025
If your goal is healthier relationships, say goodbye to these 5 hidden patterns – VegOut

If your goal is healthier relationships, say goodbye to these 5 hidden patterns – VegOut

June 17, 2025
Delap impact helps Chelsea see off LAFC at Club World Cup but fans stay away – The Guardian

Delap’s Impact Powers Chelsea Past LAFC at Club World Cup Despite Low Fan Turnout

June 17, 2025
Safety concerns in Deep Ellum create apprehension as the entertainment district gains visitors – CBS News

Safety Concerns Surge Amid Deep Ellum’s Booming Popularity and Growing Crowds

June 17, 2025
Health officials warn of measles case from traveler at Dulles Airport – The Washington Post

Health officials warn of measles case from traveler at Dulles Airport – The Washington Post

June 17, 2025
An Unforgettable Week in California Politics – KQED

An Unforgettable Week in California Politics – KQED

June 17, 2025
Safran and Bombardier announce defense technology innovation partnership – Safran

Safran and Bombardier Join Forces to Revolutionize Defense Technology

June 16, 2025
Bee-lieve the buzz: Honeybees help Delaware agriculture, ecology – Bay to Bay News

Bee-lieve the buzz: Honeybees help Delaware agriculture, ecology – Bay to Bay News

June 16, 2025

Categories

Archives

June 2025
MTWTFSS
 1
2345678
9101112131415
16171819202122
23242526272829
30 
« May    
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 (690)
  • Economy (703)
  • Entertainment (21,607)
  • General (15,421)
  • Health (9,745)
  • Lifestyle (709)
  • News (22,149)
  • People (706)
  • Politics (711)
  • Science (15,922)
  • Sports (21,202)
  • Technology (15,689)
  • World (684)

Recent News

“One Health” needs ecology – PNAS

“One Health” needs ecology – PNAS

June 17, 2025
Congress shows first signs of resisting Trump’s plans to slash science budgets – Science | AAAS

Congress shows first signs of resisting Trump’s plans to slash science budgets – Science | AAAS

June 17, 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