Skip to content

Commit 920e171

Browse files
committed
Config updates
1 parent 30581c9 commit 920e171

File tree

4 files changed

+20
-6
lines changed

4 files changed

+20
-6
lines changed

lua/core/plugins/init.lua

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -158,6 +158,18 @@ local plugins = {
158158
branch = "master"
159159
},
160160

161+
{
162+
"luckasRanarison/tailwind-tools.nvim",
163+
name = "tailwind-tools",
164+
build = ":UpdateRemotePlugins",
165+
dependencies = {
166+
"nvim-treesitter/nvim-treesitter",
167+
"nvim-telescope/telescope.nvim", -- optional
168+
"neovim/nvim-lspconfig", -- optional
169+
},
170+
opts = {} -- your configuration
171+
},
172+
161173
-- require plugins with more complex config
162174

163175
require 'core.plugins.todo-comments',

lua/core/setup/language-servers.lua

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ local servers = {
1414
-- pyright = {},
1515
-- rust_analyzer = {},
1616
eslint = {},
17-
tsserver = {
17+
ts_ls = {
1818
typescript = {
1919
settings = {
2020
preferences = {
@@ -77,7 +77,9 @@ local function organize_imports()
7777
vim.lsp.buf.execute_command(params)
7878
end
7979

80-
local tsserverKeymaps = require('core.keymaps.async.tsserver')
80+
-- TODO Add back OrganizeImports command
81+
82+
local tsserverKeymaps = require('core.keymaps.async.ts_ls')
8183

8284
local tsserver_on_attach = function(_, bufnr)
8385
lspKeymaps(bufnr)
@@ -87,7 +89,7 @@ local tsserver_on_attach = function(_, bufnr)
8789
})
8890
end
8991

90-
require('lspconfig').tsserver.setup {
92+
require('lspconfig').ts_ls.setup {
9193
on_attach = tsserver_on_attach,
9294
capabilities = capabilities,
9395
commands = {

lua/kickstart/plugins/autoformat.lua

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -46,9 +46,9 @@ return {
4646

4747
-- Tsserver usually works poorly. Sorry you work with bad languages
4848
-- You can remove this line if you know what you're doing :)
49-
if client.name == 'tsserver' then
50-
return
51-
end
49+
-- if client.name == 'tsserver' then
50+
-- return
51+
-- end
5252

5353
-- Create an autocmd that will run *before* we save the buffer.
5454
-- Run the formatting command for the LSP that has just attached.

0 commit comments

Comments
 (0)