* . *
  • About
  • Advertise
  • Privacy & Policy
  • Contact
Monday, May 12, 2025
Earth-News
  • Home
  • Business
  • Entertainment
    John Legend Says He’s Shocked by Ye’s ‘Descent’ Into ‘Antisemitism’ and ‘Anti-Blackness’ – Yahoo

    John Legend Expresses Shock Over Ye’s Troubling Descent into Antisemitism and Anti-Blackness

    Free Flowin’ Fest brings entertainment to Pascagoula’s Beach Park – WLOX

    Experience the Excitement: Free Flowin’ Fest Lights Up Pascagoula’s Beach Park!

    ‘Experimental entertainment venue’ sets sights on Austin area – MySA

    ‘Experimental entertainment venue’ sets sights on Austin area – MySA

    Taylor Swift’s team calls subpoena in Blake Lively-Justin Baldoni case ‘tabloid clickbait’ – Yahoo

    Taylor Swift’s Team Slams Subpoena in Blake Lively-Justin Baldoni Case as ‘Tabloid Clickbait

    The Weeknd made the apocalypse sexy at his 2025 tour launch in Arizona – Yahoo

    The Weeknd Turns Up the Heat at His 2025 Tour Launch in Arizona!

    Flutter Entertainment eyes U.S. prediction markets amid growing interest – Sports Business Journal

    Flutter Entertainment Sets Its Sights on U.S. Prediction Markets as Interest Soars

  • 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
    Well completions per location more than double in Lower 48 states as technology advances – U.S. Energy Information Administration (EIA) (.gov)

    Revolutionizing Oil Production: Lower 48 States See Doubling of Well Completions Thanks to Technological Breakthroughs!

    Officials announce massive project that could reshape electric vehicle technology: ‘This is exactly the type of investment that will help us grow the economy’ – Yahoo Finance

    Game-Changer Ahead: Major Investment Set to Transform Electric Vehicle Technology and Boost the Economy!

    Federal agents raid Dymeng Technology Solutions in St. Augustine – Action News Jax

    Federal Agents Storm Dymeng Technology Solutions in St. Augustine: What You Need to Know

    SoundHound’s Amelia 7.0 Platform Delivers Agentic AI With Category Leading Voice Technology – Business Wire

    Unleashing the Future: SoundHound’s Amelia 7.0 Revolutionizes Voice Technology with Agentic AI

    Comings and goings: MPT hires VP of technology, NPR announces changes to Business Desk – Current – For people in public media

    Exciting Leadership Changes: MPT Welcomes New VP of Technology and NPR Revamps Business Desk!

    Harnessing emerging technologies to power a small business – The Oaklandside

    Unlocking Success: How Emerging Technologies Can Transform Your Small Business

    Trending Tags

    • Nintendo Switch
    • CES 2017
    • Playstation 4 Pro
    • Mark Zuckerberg
No Result
View All Result
  • Home
  • Business
  • Entertainment
    John Legend Says He’s Shocked by Ye’s ‘Descent’ Into ‘Antisemitism’ and ‘Anti-Blackness’ – Yahoo

    John Legend Expresses Shock Over Ye’s Troubling Descent into Antisemitism and Anti-Blackness

    Free Flowin’ Fest brings entertainment to Pascagoula’s Beach Park – WLOX

    Experience the Excitement: Free Flowin’ Fest Lights Up Pascagoula’s Beach Park!

    ‘Experimental entertainment venue’ sets sights on Austin area – MySA

    ‘Experimental entertainment venue’ sets sights on Austin area – MySA

    Taylor Swift’s team calls subpoena in Blake Lively-Justin Baldoni case ‘tabloid clickbait’ – Yahoo

    Taylor Swift’s Team Slams Subpoena in Blake Lively-Justin Baldoni Case as ‘Tabloid Clickbait

    The Weeknd made the apocalypse sexy at his 2025 tour launch in Arizona – Yahoo

    The Weeknd Turns Up the Heat at His 2025 Tour Launch in Arizona!

    Flutter Entertainment eyes U.S. prediction markets amid growing interest – Sports Business Journal

    Flutter Entertainment Sets Its Sights on U.S. Prediction Markets as Interest Soars

  • 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
    Well completions per location more than double in Lower 48 states as technology advances – U.S. Energy Information Administration (EIA) (.gov)

    Revolutionizing Oil Production: Lower 48 States See Doubling of Well Completions Thanks to Technological Breakthroughs!

    Officials announce massive project that could reshape electric vehicle technology: ‘This is exactly the type of investment that will help us grow the economy’ – Yahoo Finance

    Game-Changer Ahead: Major Investment Set to Transform Electric Vehicle Technology and Boost the Economy!

    Federal agents raid Dymeng Technology Solutions in St. Augustine – Action News Jax

    Federal Agents Storm Dymeng Technology Solutions in St. Augustine: What You Need to Know

    SoundHound’s Amelia 7.0 Platform Delivers Agentic AI With Category Leading Voice Technology – Business Wire

    Unleashing the Future: SoundHound’s Amelia 7.0 Revolutionizes Voice Technology with Agentic AI

    Comings and goings: MPT hires VP of technology, NPR announces changes to Business Desk – Current – For people in public media

    Exciting Leadership Changes: MPT Welcomes New VP of Technology and NPR Revamps Business Desk!

    Harnessing emerging technologies to power a small business – The Oaklandside

    Unlocking Success: How Emerging Technologies Can Transform Your Small Business

    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

Towards synthetic ecology: strategies for the optimization of microbial community functions – Frontiers

Unlocking the Future of Synthetic Ecology: Innovative Strategies to Enhance Microbial Community Functions

May 12, 2025
12 reasons to ignore computer science degrees – cio.com

12 Compelling Reasons to Rethink Pursuing a Computer Science Degree

May 12, 2025
Don’t feel guilty about poaching scientists fleeing Trump, US science body tells Europe – Science|Business

Embrace the Brain Drain: Why Europe Should Welcome Scientists Leaving the Trump Era

May 12, 2025
Sagittarius Daily Horoscope Today (Nov 22- Dec 21), May 12, 2025: Lifestyle will improve! – India Today

Unlock a Brighter Future: Exciting Lifestyle Changes Await Sagittarius Today!

May 12, 2025
USA breaks mixed 4x400m championship record in Guangzhou – worldathletics.org

USA Shatters Mixed 4x400m Championship Record in Guangzhou!

May 12, 2025
Is the US economy about to collapse? – FreightWaves

Is a US Economic Collapse on the Horizon

May 12, 2025
John Legend Says He’s Shocked by Ye’s ‘Descent’ Into ‘Antisemitism’ and ‘Anti-Blackness’ – Yahoo

John Legend Expresses Shock Over Ye’s Troubling Descent into Antisemitism and Anti-Blackness

May 12, 2025
Merck Animal Health announces $895 million investment in Kansas – Reuters

Merck Animal Health Unveils Ambitious $895 Million Investment in Kansas!

May 12, 2025
How Dartmouth Has Avoided Trump’s Retribution So Far – The New York Times

How Dartmouth Has Skillfully Navigated Trump’s Retribution

May 11, 2025
Well completions per location more than double in Lower 48 states as technology advances – U.S. Energy Information Administration (EIA) (.gov)

Revolutionizing Oil Production: Lower 48 States See Doubling of Well Completions Thanks to Technological Breakthroughs!

May 11, 2025

Categories

Archives

May 2025
MTWTFSS
 1234
567891011
12131415161718
19202122232425
262728293031 
« Apr    
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 (601)
  • Economy (613)
  • Entertainment (21,526)
  • General (15,211)
  • Health (9,655)
  • Lifestyle (618)
  • News (22,149)
  • People (616)
  • Politics (620)
  • Science (15,835)
  • Sports (21,123)
  • Technology (15,603)
  • World (603)

Recent News

Towards synthetic ecology: strategies for the optimization of microbial community functions – Frontiers

Unlocking the Future of Synthetic Ecology: Innovative Strategies to Enhance Microbial Community Functions

May 12, 2025
12 reasons to ignore computer science degrees – cio.com

12 Compelling Reasons to Rethink Pursuing a Computer Science Degree

May 12, 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