feat(mise): add r statistical program
Also, add proper language server in neovim.
This commit is contained in:
parent
39c4c9bf2d
commit
f2d96625d0
@ -208,6 +208,7 @@ RUN ${LOCAL_BIN_HOME}/mise plugins install --force --yes \
|
|||||||
lua \
|
lua \
|
||||||
luajit \
|
luajit \
|
||||||
poetry \
|
poetry \
|
||||||
|
r \
|
||||||
ripgrep \
|
ripgrep \
|
||||||
rust \
|
rust \
|
||||||
starship \
|
starship \
|
||||||
|
@ -23,6 +23,7 @@ luajit = "2.0.5--2.4.4"
|
|||||||
node = "22.1.0"
|
node = "22.1.0"
|
||||||
poetry = "1.8.3"
|
poetry = "1.8.3"
|
||||||
python = "3.12.3"
|
python = "3.12.3"
|
||||||
|
r = "4.4.0"
|
||||||
ripgrep = "14.1.0"
|
ripgrep = "14.1.0"
|
||||||
rust = "1.78.0"
|
rust = "1.78.0"
|
||||||
starship = "1.18.2"
|
starship = "1.18.2"
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
diff --git a/init.lua b/init.lua
|
diff --git a/init.lua b/init.lua
|
||||||
index 88658ef..5887aaa 100644
|
index 88658ef..b2e4e40 100644
|
||||||
--- a/init.lua
|
--- a/init.lua
|
||||||
+++ b/init.lua
|
+++ b/init.lua
|
||||||
@@ -91,7 +91,7 @@ vim.g.mapleader = ' '
|
@@ -91,7 +91,7 @@ vim.g.mapleader = ' '
|
||||||
@ -68,11 +68,12 @@ index 88658ef..5887aaa 100644
|
|||||||
lua_ls = {
|
lua_ls = {
|
||||||
-- cmd = {...},
|
-- cmd = {...},
|
||||||
-- filetypes = { ...},
|
-- filetypes = { ...},
|
||||||
@@ -592,6 +622,32 @@ require('lazy').setup({
|
@@ -592,6 +622,33 @@ require('lazy').setup({
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
+ pyright = {},
|
+ pyright = {},
|
||||||
|
+ r_language_server = {},
|
||||||
+ templ = {},
|
+ templ = {},
|
||||||
+ terraformls = {},
|
+ terraformls = {},
|
||||||
+ tsserver = {},
|
+ tsserver = {},
|
||||||
@ -101,7 +102,7 @@ index 88658ef..5887aaa 100644
|
|||||||
}
|
}
|
||||||
|
|
||||||
-- Ensure the servers and tools above are installed
|
-- Ensure the servers and tools above are installed
|
||||||
@@ -618,6 +674,33 @@ require('lazy').setup({
|
@@ -618,6 +675,33 @@ require('lazy').setup({
|
||||||
-- by the server configuration above. Useful when disabling
|
-- by the server configuration above. Useful when disabling
|
||||||
-- certain features of an LSP (for example, turning off formatting for tsserver)
|
-- certain features of an LSP (for example, turning off formatting for tsserver)
|
||||||
server.capabilities = vim.tbl_deep_extend('force', {}, capabilities, server.capabilities or {})
|
server.capabilities = vim.tbl_deep_extend('force', {}, capabilities, server.capabilities or {})
|
||||||
@ -135,7 +136,7 @@ index 88658ef..5887aaa 100644
|
|||||||
require('lspconfig')[server_name].setup(server)
|
require('lspconfig')[server_name].setup(server)
|
||||||
end,
|
end,
|
||||||
},
|
},
|
||||||
@@ -835,7 +918,38 @@ require('lazy').setup({
|
@@ -835,7 +919,38 @@ require('lazy').setup({
|
||||||
'nvim-treesitter/nvim-treesitter',
|
'nvim-treesitter/nvim-treesitter',
|
||||||
build = ':TSUpdate',
|
build = ':TSUpdate',
|
||||||
opts = {
|
opts = {
|
||||||
@ -175,7 +176,7 @@ index 88658ef..5887aaa 100644
|
|||||||
-- Autoinstall languages that are not installed
|
-- Autoinstall languages that are not installed
|
||||||
auto_install = true,
|
auto_install = true,
|
||||||
highlight = {
|
highlight = {
|
||||||
@@ -874,18 +988,18 @@ require('lazy').setup({
|
@@ -874,18 +989,18 @@ require('lazy').setup({
|
||||||
-- Uncomment any of the lines below to enable them (you will need to restart nvim).
|
-- Uncomment any of the lines below to enable them (you will need to restart nvim).
|
||||||
--
|
--
|
||||||
-- require 'kickstart.plugins.debug',
|
-- require 'kickstart.plugins.debug',
|
||||||
|
Loading…
x
Reference in New Issue
Block a user