mirror of
https://github.com/LazyVim/LazyVim.git
synced 2025-06-22 08:53:33 +02:00
feat(tabnine): add build cmd for Windows (#1737)
* feat(tabnine): add build cmd for Windows * fix(prettier): use prettier instead of prettierd. Too many people get truncated files. Fixes #712. See #1735 * feat: disable kind_filter for markdown and help * feat(lualine): pretty_path now highlights file basename when modified * fix(root): dont use single-file lsps for root detection. use workspaces only * feat(lualine): new root dir component that only shows when cwd != root_dir * refactor --------- Co-authored-by: edshamis <pc> Co-authored-by: Folke Lemaitre <folke.lemaitre@gmail.com>
This commit is contained in:
parent
dfdfcad1aa
commit
c8e5501ee5
1 changed files with 2 additions and 3 deletions
|
@ -8,7 +8,7 @@ return {
|
||||||
-- Add TabNine support, make sure you run :CmpTabnineHub after installation.
|
-- Add TabNine support, make sure you run :CmpTabnineHub after installation.
|
||||||
{
|
{
|
||||||
"tzachar/cmp-tabnine",
|
"tzachar/cmp-tabnine",
|
||||||
build = "./install.sh",
|
build = Util.is_win() and "pwsh -noni .\\install.ps1" or "./install.sh",
|
||||||
dependencies = "hrsh7th/nvim-cmp",
|
dependencies = "hrsh7th/nvim-cmp",
|
||||||
opts = {
|
opts = {
|
||||||
max_lines = 1000,
|
max_lines = 1000,
|
||||||
|
@ -16,8 +16,7 @@ return {
|
||||||
sort = true,
|
sort = true,
|
||||||
},
|
},
|
||||||
config = function(_, opts)
|
config = function(_, opts)
|
||||||
local tabnine = require("cmp_tabnine.config")
|
require("cmp_tabnine.config"):setup(opts)
|
||||||
tabnine:setup(opts)
|
|
||||||
end,
|
end,
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue