From 52a4bc45488cb1f626b02be5512cd0301cd48cb8 Mon Sep 17 00:00:00 2001 From: "Justin M. Keyes" Date: Sun, 27 Apr 2025 13:40:46 -0700 Subject: docs: lsp, emoji, startup #33446 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Maria José Solano --- runtime/lua/vim/_meta/options.lua | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) (limited to 'runtime/lua/vim/_meta/options.lua') diff --git a/runtime/lua/vim/_meta/options.lua b/runtime/lua/vim/_meta/options.lua index 1e0e40a3a3..b06334ba31 100644 --- a/runtime/lua/vim/_meta/options.lua +++ b/runtime/lua/vim/_meta/options.lua @@ -2084,6 +2084,15 @@ vim.bo.et = vim.bo.expandtab --- - 'exrc' can execute any code; editorconfig only specifies settings. --- - 'exrc' is Nvim-specific; editorconfig works in other editors. --- +--- To achieve project-local LSP configuration: +--- 1. Enable 'exrc'. +--- 2. Place LSP configs at ".nvim/lsp/*.lua" in your project root. +--- 3. Create ".nvim.lua" in your project root directory with this line: +--- +--- ```lua +--- vim.cmd[[set runtimepath+=.nvim]] +--- ``` +--- --- This option cannot be set from a `modeline` or in the `sandbox`, for --- security reasons. --- @@ -6442,8 +6451,7 @@ vim.o.stc = vim.o.statuscolumn vim.wo.statuscolumn = vim.o.statuscolumn vim.wo.stc = vim.wo.statuscolumn ---- When non-empty, this option determines the content of the status line. ---- Also see `status-line`. +--- Sets the `status-line`. --- --- The option consists of printf style '%' items interspersed with --- normal text. Each status line item is of the form: -- cgit